Medium
Given a binary array nums and an integer target (the number of 0s you may flip to 1), return the maximum number of consecutive 1s achievable.
Input: nums = [1,1,1,0,0,0,1,1,1,1,0], target = 2 Output: 6
Input: nums = [0,0,1,1,0,0,1,1,1,0,1,1,0,0,0,1,1,1,1], target = 3 Output: 10