Pergunta de entrevista da empresa Robert Bosch

How to reverse a doubly linkedlist?