Limited Time Offer:Up to 0% off Hello Interview Premium
Up to 0% off Hello Interview Premium 🎉
Hello Interview
Your Dashboard
System Design
Code
Low Level Design
Behavioral
AI Coding
New
ML System Design
Salary Negotiation
Interview Guides
Blog
System Design
Low Level Design
AI Coding
Behavioral
Code Review
New
Interview Questions
Success Stories
System Design
Low-Level Design
Ask The Community
Discord
Quizzes
Refer a Friend
Pricing
Sign in / Sign up
Search
⌘K
Pricing
Tutor
Get Premium

Maze Solver with Path Printing

Implement a maze solving algorithm that finds a path from start to finish and prints the solution path. The solution should handle multiple test cases and clearly display the solved maze with the path marked.

Asked at:
Meta
Guided Practice

Practice Maze Solver with AI-powered feedback

Guided Practice

Practice Maze Solver with AI-powered feedback

Hello Interview Problem Breakdown

Maze Solver

A detailed walkthrough of the Maze Solver problem, covering the approach, implementation, and optimization.

Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

0

Early July, 2026

Meta
Staff

Late May, 2026

Meta
Senior

Question had 5 parts: part 1 (debug): path printing was invalid; start and end were being added to the path part 2 (debug): revisiting same cell; use a visited set part 3 (implementation): Some cells are chutes (one way); need to update valid cell logic part 4 (implementation): Keys and Gates, acquires keys to pass through gates; update BFS to maintain key state. Discussed time/space complexity and optimization with bitmap (was not asked to ask implement bitmap, plenty of time was left) part 5a (implementation): Something to do with a medusa that you want to avoid. part 5b ????

Mid May, 2026

Meta
Senior

Interview had multiple extensions on a grid/BFS problem. * First, without AI help, I fixed a bug in `cell.Type` logic quickly. Interviewer pushed for a cleaner solution without hardcoded strings/constants. * Then AI was enabled. I identified and explained a BFS bug related to printing the solution path and fixed it with AI assistance. * Added support for direction characters like `<` and `>`, which AI implemented based on my instructions. * Next, implemented key-lock logic (`a -> A`, `b -> B`) by extending visited state to also track collected keys/state. * Final follow-up was only discussion based: avoiding movement toward a “Medusa” if in the same row/column. Final verdict: Not selected. Not sure if this round became a concern despite completing most parts.

Get Premium to View All 70+ Reports

Your account is free and you can post anonymously if you choose.

Questions
Meta SWE Interview QuestionsAmazon SWE Interview QuestionsGoogle SWE Interview QuestionsOpenAI SWE Interview QuestionsAnthropic SWE Interview QuestionsEngineering Manager (EM) Interview Questions
Learn
Learn System DesignLearn DSALearn BehavioralLearn ML System DesignLearn Low Level DesignGuided Practice
Links
FAQPricingGift PremiumHello Interview Premium
Legal
Terms and ConditionsPrivacy PolicySecurity
Contact
About UsProduct Support

7511 Greenwood Ave North Unit #4238 Seattle WA 98103

© 2026 Optick Labs Inc. All rights reserved.