Data structures · Linked lists

Reversing a list

Reversing a linked list without making new nodes is a classic exam and interview question, and it rests on saving one reference first.