Pregunta de entrevista de Teradata

Basic Programming question on LinkedList and strings