Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Grid Shortest Path with BFS/DFS

Hard
CodingdfsbfsGraphsAsked 1 times

Problem

Implement a solution to find the shortest path in a grid using a modified Breadth-First Search (BFS) or Depth-First Search (DFS).

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Samsung Electronics Software Engineer Interview Questions
Next questions
PhonepeGrid Pathfinding with BFS/DijkstraHardRockstar GamesBFS Shortest Path in Dynamic GridMediumAShortest Path in GridMedium
0 / ~200 words