Agito Networks interview question

data structure, algorithm