give binary array num integer k return maximum number consecutive 1s array flip k 0s Example 1input num 11100011110 k 2output 6explanation 11100111111bolded number flip 0 1 the long subarray underlinedExample 2input num 0011001110110001111 k 3Output 10explanation 0011111111110001111bolded number flip 0 1 the long subarray underline Constraints1 numslength 105numsi 0 10 k numslength