J.P. Morgan interview question

Referrals help