Problem 860 · Easy

Lemonade Change

Serve customers one at a time with $5 drinks, accepting $5, $10 or $20 bills and giving correct change. The visual tracks the count of each bill as change is given out.

Open the interactive visualisation