Trapeze Group interview question

Questions are straightforward, basic c++/algorithm questions