Domanda di colloquio di Baykar Technologies

Simple sorting problem with code test