Open the Lock
Zip interview questions · Medium · Phone Screen round · reported 3× · 6 tests
Treat each 4-digit code as a graph node and BFS for the fewest wheel turns to the target.
The full question, tests and reference solution are available with a plan that includes Zip.
Run your code with Ctrl+Enter to see results.