Vidyalelo
Data Structure · Q70

Linked Lists in Data Structures

Programming · Data Structure · question 70

Q70

Suppose, in a triply linked list, the elements 2, 3, 3, 5, 5, 5 and 6 are inserted in the given sequence. To which of the following elements will the top pointer point, if the linked list is traversed starting from the head?

A.
2    3 top → 3    5 top → 5    5 top → 6
B.
2 top → 3    3 top → 5    5    5 top → 6
C.
2    3 top → 3    5 top → 5 top → 5    6
Answer
D.
2 top → 3 top → 3 top → 5    5    5    6

Answer: Option C

Solution

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