EY Interview Question

Nothing much difficult.