Question d’entretien chez Expedia Group

Reverse a string, second max of the array