Find element in horizontally and vertically sorted 2D array
Filed under Yatra.com
The question
Given a 2D array that is sorted both horizontally and vertically, find a given target element.
No write-up yet. Related questions below have one.
Related Yatra.com questions
Collected from public candidate posts and coding forums. Updated Nov 2026.