Reach Endpoint With Obstacles

Problem overview from a real Roblox interview:

You are given a 2D grid of characters and two coordinates start and end. The player begins at start and may move one step at a time in any of the four orthogonal directions (up, down, left, right). Each cell is one of:

Check more interview questions and experiences about Roblox

Please log in to view interview details