Search⌘ K
AI Features

Lemonade Change

Lemonade Change asks whether each customer can receive correct change for a five-dollar lemonade, given bills paid in sequence. Return true if all transactions succeed.

Statement

There is a lemonade stand where customers can buy one lemonade at a time for ...