You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a 1 million by 1 million grid, the coordinates of each grid square are `(x, y)` with `0 <= x, y < 10^6`.
8
+
9
+
We start at the `source` square and want to reach the `target` square. Each move, we can walk to a 4-directionally adjacent square in the grid that isn't in the given list of `blocked` squares.
10
+
11
+
Return `true` if and only if it is possible to reach the target square through a sequence of moves.
0 commit comments