Determine whether a path exists from S to T on a grid with water cells.
Unlock detailed company stats for this questionUpgrade
Given a grid of size N x N, cells S and T, and impassable cells with water, find if an S to T path exists, assuming you can only move horizontally or vertically.
Community answers
No answers contributed by the community yet.
Related questions
Determine whether a word exists in a grid of characters.Related courses

Course

Course
Course
