EY interview question

Case interview was hard.