JPMorganChase interview question

Very role specific problem and solution