Pergunta de entrevista da empresa Cyzerg

2. Sort based on the Square of each element in the array