Pregunta de entrevista de Amazon

Algorithm for finding the largest palidrone in a String