About This Pattern
Master the Binary Search / Matrix pattern by practicing these problems organized by difficulty.Focus on the Key Signals - these are the indicators that tell you when to use this pattern.
Medium (1)
Search a 2D Matrix II
Search for a value in an m x n matrix where rows and columns are sorted.
Key Signals:
Sorted rows and columnsStart from cornerEliminate row/column