Solution: Search in Sorted Matrix
This review lesson gives a detailed analysis of the solutions to search a target in a sorted matrix.
We'll cover the following...
We'll cover the following...
Solution #1: Brute Force
This is a simple linear searching of the 2-D Matrix. We use two for loops to iterate over the entire matrix.
Time complexity
Since we use two nested for loops, the time complexity is ...