Tech Mahindra Interview Question

I didn't reach till technical round.