Reach Endpoint With Obstacles
Examples
Example 1:
Input: grid = [[".",".",".","."],[".","#","#","."],[".","#",".","."],[".",".",".","."]], start = [0,0], end = [2,3]
Output: true
Explanation:
Example 2:
Input: grid = [[".",".",".","."],["#","#","#","#"],[".",".",".","."]], start = [0,0], end = [2,3]
Output: false
Explanation:
Example 3:
Input: grid = [[".",".","."]], start = [0,1], end = [0,1]
Output: true
Explanation: