DSA Master
Home
Problems
123
Schedule
17 Patterns
Data Structures
PDF Guide
Back to Problems
Mark as Complete
Max Consecutive Ones III
#1004
Medium
Sliding Window
O(n)
O(1)
Amazon
Google
View on LeetCode
Description
Approach
Solution
Related
Problem Description
Find max consecutive 1s if you can flip at most k zeros.