Examveda

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

D. 2 top → 3 top → 3 top → 5    5    5    6

Answer: Option C


This Question Belongs to Data Structure >> Linked Lists In Data Structures

Join The Discussion

Related Questions on Linked Lists in Data Structures

What is a circular linked list?

A. A list where each node points to the next

B. A list where the last node points to the first node

C. A list where each node points to itself

D. A list where the nodes are in a circle