EchoStar interview question

based on data structures and linked lists