Max 1s in Matrix
Filed under Yatra.com
The question
Given a matrix of 0s and 1s in sorted order, find the row index with the maximum number of 1s. Modified to handle rows sorted in increasing or decreasing order.
No write-up yet. Related questions below have one.
Related Yatra.com questions
Collected from public candidate posts and coding forums. Updated Nov 2026.