Scientific Games interview question

basic c++ and datastructure