Doosan interview question

Technical Quesion