The Solution

In the playground below, you will find my solution.

I have written loads of comments to help you understand every solution.

See them below:

Get hands-on with 1400+ tech skills courses.