Pseudocode Flowchart

Make a pile of boxes to look through
While the pile is NOT empty
Grab a Box
If you find a BOX, add it to the pile of boxes
If you find a KEY, you're done!

Live Visualization

Pile of Boxes 0
Currently Checking:
Click "Start Search" or "Step" to begin the algorithm
Algorithm Log
📦
Unchecked Box
📦
Checking
🔑
Key Found!