ThousandEyes interview question

Coding challenge.