The Coalition interview question

Asked to find issues in 2 different C++ script