Vidyalelo
Data Structure · Q160

Introduction to Data Structures

Programming · Data Structure · question 160

Q160

Given pointer to a node X in a singly linked list. Only one pointer is given, pointer to head node is not given, can we delete the node X from given linked list?

A.
Possible if X is not last node
Answer
B.
Possible if size of linked list is even
C.
Possible if size of linked list is odd
D.
Possible if X is not first node

Answer: Option A

Solution

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