← Amazon questionsCodingMediumReported in a candidate post, Jun 2025 Max Consecutive Ones III
Filed under Amazon · Also reported at PayPay
Given a binary array nums and an integer k, return the maximum number of consecutive 1s in the array if you can flip at most k 0s to 1s.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.
Collected from public candidate posts and coding forums. Updated Nov 2026.