ThousandEyes interview question

Data Structure, Algorithms