← Cisco questions
CodingEasyReported in a candidate post, Nov 2020

Search a 2D matrix

Filed under Cisco · Also reported at Brane Enterprises, Kylas, WheelsEye

Write an efficient algorithm to search for a target value in an m x n matrix where each row is sorted in ascending order from left to right, and the first integer of each row is greater than the last…

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

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