Quanser interview question

Technical problem questions.