Domanda di colloquio di JPMorganChase

Average coding question about sorting