Question d’entretien chez Microsoft

Write an algorithm to reverse a linked list.