ByteByteGo logo
menuProblems List

Matrix Search

Medium

Determine if a target value exists in a matrix. Each row of the matrix is sorted in non-decreasing order, and the first value of each row is greater than or equal to the last value of the previous row.

Example:

Example
Output: True

You can practice coding exercises online by logging into bytebytego.com on your laptop.