If you want to solve problems based on the patterns most frequently asked in tech company interviews, then "Blind 75 & NeetCode 150" are for you. Blind 75: List of the 75 essential LeetCode algorithms ...
- -1: A wall or an obstacle. - 0: A gate. - INF: Infinity means an empty room. We use the value 231 - 1 = 2147483647 to represent INF, as you may assume that the distance to a gate is less than ...