J.P. Morgan Interview Question

Mostly technical