Vidyalelo
Data Structure · Q25

Linked Lists in Data Structures

Programming · Data Structure · question 25

Q25

How do you delete a node from a linked list, given only a pointer to that node?

A.
Update the head pointer
B.
Update the tail pointer
C.
Copy the data from the next node to the current node and delete the next node
Answer
D.
You cannot delete the node

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board