Pergunta de entrevista da empresa Terawe

Double Linkedlist question with corrupted links