ASML interview question

then interviewer asked me to review cpp code.