Pergunta de entrevista da empresa NowPow

Coding question about nodes and linked list