1 votes 1 votes If the head of a Linked List is pointing to $k$ th element, then how will you get the elements before $k$ th element? DS data-structures linked-list + – Lakshman Bhaiya asked Oct 17, 2018 • edited Aug 14, 2019 by Lakshman Bhaiya Lakshman Bhaiya 607 views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Verma Ashish commented Oct 17, 2018 reply Follow Share In case of single linked list we can't get that elements.. 0 votes 0 votes Lakshman Bhaiya commented Oct 18, 2018 reply Follow Share The answer is given that Use memory efficient Linked lists [XOR Linked Lists] 0 votes 0 votes akash.dinkar12 commented Oct 18, 2018 reply Follow Share U can read about this here:https://www.geeksforgeeks.org/xor-linked-list-a-memory-efficient-doubly-linked-list-set-1/ 0 votes 0 votes Lakshman Bhaiya commented Oct 18, 2018 reply Follow Share Yes, I will try to read it, this concept is important for GATE? 0 votes 0 votes akash.dinkar12 commented Oct 18, 2018 reply Follow Share As of now, i think no such questions have been asked..But still u can read about it. 0 votes 0 votes gate_dreams commented Oct 18, 2018 reply Follow Share The traversal of xor list is possible if we know address of the previous or later node. How is xor list sufficient to get the previous nodes till k.Xor list can traverse in both directions but here how can we traverse backward if we don't know the previous address? 0 votes 0 votes Please log in or register to add a comment.