Pregunta de entrevista de Hewlett Packard Enterprise | HPE

How to sory array without using extra array?