Tech Mahindra Interview Question

It's easy