There is a blocked, where each blocked[i]
You are also given a starting cell source target
From any cell, you can move to an adjacent cell in any of the blocked.
Return true if it is possible to reach target from source, or false otherwise.
Constraints:
blocked.length
blocked[i].length
source.length target.length
source target
It is guaranteed that source and target are not blocked.
There is a blocked, where each blocked[i]
You are also given a starting cell source target
From any cell, you can move to an adjacent cell in any of the blocked.
Return true if it is possible to reach target from source, or false otherwise.
Constraints:
blocked.length
blocked[i].length
source.length target.length
source target
It is guaranteed that source and target are not blocked.