The board at the counter has two more things on it. The first is jars of tokens: the "Tea" jar holds tokens with the numbers of the tea items, and one jar never holds two identical tokens. The second is the sales board: each drink shows how many were sold, and the lines always run from the leader down. When the latte overtakes the cappuccino, its line moves up by itself.
In this lesson
- Set
- Sorted set
- Which structure to pick
- Common mistake
- Key points