IIT Madras interview question

Nothing more than Technical