Adobe interview question

Mainly C++/Data structures and Algorithms