Question d’entretien chez Amazon

Algorithm for finding the largest palidrone in a String