ASML Interview Question

then interviewer asked me to review cpp code.