Pergunta de entrevista da empresa Counterpoint Consulting

Given an array of n elements, write a code that sorts it backwards.

Resposta da entrevista

Sigiloso

3 de out. de 2018

Sorting an array by swapping first and last elements seems to please them as it is very efficient.