← Paytm questions

Find row with maximum zeros in binary matrix

Filed under Paytm

Given an m x n binary matrix where each row is sorted in non-decreasing order (all 0s appear before 1s), find the index of the row with the maximum number of zeros.

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

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