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 1200+ tech skills courses.