Coach note
Coding questions test whether you can carry a problem from a vague spec to a working solution while talking through your decisions. Interviewers watch the process at least as much as the answer.
Coding · Algorithms
Given a matrix where each row and column is sorted in ascending order, write a function to search for a target value in O(m + n) time. Explain why binary search on each row isn't optimal here.
Type your answer
0of ~140 wordsAbout a minute spoken
Voice isn’t supported in this browser — type your answer in the box.
Create a free account to get more critiques.
Your answer appears here as you speak.