Ubisoft interview question

basic c++ and data structure