Try It Yourself: Solution
See the solution to the coding exercise you tried in the previous lesson.
We'll cover the following...
Sorting matchsticks
Problem statement
A matchstick factory has to put n matchsticks in boxes. The factory has the following three types of boxes:
- A