Toptal interview question

To solve the code problem