Fidelity Investments Interview Question

Second interview coding exercise around java and json