Problem 752 · Medium

Open the Lock

Breadth-first search over four-wheel lock states, avoiding dead ends.

Open the interactive visualisation