Pregunta de entrevista de Google

2 differnt questions, one is listNode, the other is string I think?