J.P. Morgan Interview Question

First software interview and nothing was out of the ordinary for a software developer interview based on research.