Problem 841 · Medium

Keys and Rooms

Walk from room 0 with a stack of keys and see whether every room opens.

Open the interactive visualisation