Question d’entretien chez Better

Array based question(Sort an array in wave form).