LeetCode 74. Search a 2D Matrix

October 22, 2024

Getting back into the habit of solving LeetCode problems.

Today's problem is LeetCode 74. Search a 2D Matrix.

We have to solve this in O(log(m*n)) time complexity. So, I think of binary search in 2 dimensions. Once for the row, and once for the column.

Learning Terraform

LeetCode 12. Integer to Roman