Incedo Interview Question

C/C++, Design, problem solving