Capgemini Engineering interview question

Get your basics right