J.P. Morgan Interview Question

In the field of coding and mathematics