Toptal interview question

Was just the introductory one