XYZ interview question

Project