Double linked list using single pointer

At first I thought it’s impossible . After all a pointer can point to one memory location at a time, But then I read this insightful discussion on stackoverflow.   And here is a possible solution to the problem http://everything2.com/title/Storing+a+doubly-linked+list+using+just+a+single+pointer+field

Leave a Reply

Your email address will not be published. Required fields are marked *