โ† Walmart questions
CodingMedium

Max Consecutive Ones with One Flip

Filed under Walmart

Given a binary array, find the maximum number of consecutive 1s if you can flip at most one 0 to a 1.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Walmart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.