Chatham Financial interview question

There was one data structure question that simple/lengthy