Larsen & Toubro Interview Question

question from my Btech projects;