Question 6113 – UGC NET CS 2008-june-Paper-2
March 14, 2024
Question 3709 – UGC NET CS 2015 Dec- paper-2
March 14, 2024
Question 6113 – UGC NET CS 2008-june-Paper-2
March 14, 2024
Question 3709 – UGC NET CS 2015 Dec- paper-2
March 14, 2024

Linked-List

Question 7

Consider a singly linked list having n nodes. The data items d1, d2, …dn are stored in these n nodes. Let X be a pointer to the j-th node (1≤j≤n) in which dj is stored. A new data item d stored in node with address Y is t be inserted. Give an algorithm to insert d into the list to obtain a list having items d1, d2, …, dj-1, dj, …, dn in the order without using the header.

A
Theory Explanation.
Correct Answer: A
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!