Pergunta de entrevista da empresa Microsoft

Introduction, question on 2 pointers and linked list