Domanda di colloquio di Counterpoint Consulting

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

Risposta di colloquio

Anonimo

3 ott 2018

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