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

Join The Discussion