JPMorganChase interview question

React state, component base assessment.