Question d’entretien chez JPMorganChase

If given more time to code the solution, what would you do differently?