EY Interview Question

was fairly straightforward