Pregunta de entrevista de Guesty

easy linked list question like in leetcode