Amazon interview question

Matrix Binary search LeetCode medium