Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Data Structures | Linked List | Question 14

  • Difficulty Level : Hard
  • Last Updated : 28 Jun, 2021

Is it possible to create a doubly linked list using only one pointer with every node.
(A) Not Possible
(B) Yes, possible by storing XOR of addresses of previous and next nodes.
(C) Yes, possible by storing XOR of current node and next node
(D) Yes, possible by storing XOR of current node and previous node


Answer: (B)

Explanation: XOR Linked List – A Memory Efficient Doubly Linked List | Set 1

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!