← Adobe questions

Row with maximum 0s in a matrix

Filed under Adobe

Given a row-wise sorted binary matrix of size N x M where each row consists only of 0s followed by 1s, find the index of the row with the maximum number of 0s. If multiple rows have the same maximum…

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

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