Memory efficient doubly linked list
Asked by Varun Bhatia.
Write a code for implementation of doubly linked list with use of single pointer in each node.
This question is solved and very well explained at http://www.linuxjournal.com/article/6828.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.
We also recommend to read http://en.wikipedia.org/wiki/XOR_linked_list