Toptal interview question

three code chalenges in 90 min