DSA Key Problems

Max Consecutive Ones III

Given a binary array and an integer k, return the longest contiguous run of ones obtainable by changing at most k zeroes to ones.