Titan Company interview question

Final year project