← All problems
Easy · Greedy

Lemonade Change

Can each buyer receive change for a five-dollar purchase from bills collected so far?

Full problem and submission ↗
main.js

Console

Ready