Question d’entretien chez Agoda

write sorting algorithm. create soldier team of 3 based on ranking