J.P. Morgan Interview Question

Code a question