Escape a Large Maze at UiPath
Hard36.3% acceptance
This problem has 100.0% frequency at UiPath.
Problem Description
There is a 1 million by 1 million grid on an XY-plane, and the coordinates of each grid square are `(x, y)`. We start at the `source = [sx, sy]` square and want to reach the `target = [tx, ty]` square. There is also an array of `blocked` squares, where each `blocked[i] = [xi, yi]` represents a bloc...
Read full problem and hintsTopics
Also asked at 2 companies
More UiPath Questions
Sorting Three GroupsMediumAs Far from Land as PossibleMediumInteger to RomanMediumNumber of IslandsMediumMaking A Large IslandHard
View all UiPath questions