diff --git a/OJ notes/pages/Leetcode 01-Matrix.md b/OJ notes/pages/Leetcode 01-Matrix.md index 6f497f4..425b2e6 100644 --- a/OJ notes/pages/Leetcode 01-Matrix.md +++ b/OJ notes/pages/Leetcode 01-Matrix.md @@ -82,6 +82,9 @@ I tried with DFS, but #### BFS +> [!tip] +> Search from 0 instead of 1, can make it easier. + Start searching from 0s, because the search direction matters. pseudo code: