Google | L5 | round 1 | India

google logo
google
SDE IIIIndia
April 4, 20254 reads

Summary

I recently had an interview round at Google where I was presented with a very challenging maze problem requiring universal instructions to exit from any starting position, and I derived a solution approach with some interviewer hints.

Full Experience

I gave one round of interview at google last week. I'm not sure what's happening at google because they are asking crazy hard question to people.

Interview Questions (1)

Q1
Universal Maze Instructions
Data Structures & AlgorithmsHard

you are given an NxM maze where each cell is either empty or a wall . There is one cell which is exit from the maze. You are tasked to find a set of universal instructions like DDRLU which applied from any position will make you exit from the maze.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!