J.P. Morgan Interview Question

two codings + one written exam