Pregunta de entrevista de Unisys

How to find the longest word in a string