Given a binary array nums and an integer k, return the maximum number of consecutive nums if you are allowed to flip at most k zeros to ones.
Constraints:
nums.length
nums[i] is either
k nums.length
Given a binary array nums and an integer k, return the maximum number of consecutive nums if you are allowed to flip at most k zeros to ones.
Constraints:
nums.length
nums[i] is either
k nums.length