DIY: Searching a 2D Matrix

Solve the interview question "Searching a 2D Matrix" yourself in this lesson.

We'll cover the following...

Problem statement

Given an m x n integer matrix and a target value, determine if the target exists in the matrix or not.

The matrix has the following properties:

  • Integers in each row are sorted ...