Day 10 of LeetCode
Documenting LeetCode solving.
Celebrate 10 days completed ๐
Q1
74. Search a 2D Matrix
Medium. Binary search
class Solution:
def searchMatrix(self, matrix: List[List[int]], target: int) -> bool:
ROWS, COLS = len(matrix), len(matrix[0])
...
evelynsjourney.hashnode.dev2 min read