← Flipkart questions

Max substring with equal 0s and 1s and minimum steps to make array equal

Filed under Flipkart

Given a binary string, find the maximum length of a substring with an equal number of 0s and 1s. Additionally, find the minimum steps to make all array elements equal by incrementing n-1 elements at a…

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 Flipkart questions

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