Question d’entretien chez Capco

Sort an array. Remove elements from the array. Avoid null pointers.