Try It Yourself: Solution

See the solution to the coding exercise you tried in the previous lesson.

Sorting matchsticks

Problem statement

Get hands-on with 1400+ tech skills courses.