Fidelity Investments Interview Question

React refactoring, java api data manipulation