Suppose In A Triply Linked List The Elements 2 3 3 5 5 5 And 6 #478
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?
This multiple choice question (MCQ) is related to the book/course gs gs121 Data Structures and Algorithms. It can also be found in gs gs121 Types of Lists - Triply Linked List - Quiz No.1.
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?
\(\begin{matrix}2 & 3\; top\rightarrow 3 & 5 \;top\rightarrow 5 & 5 \; top\rightarrow 6 \end{matrix}\)
\(\begin{matrix}2 \; top\rightarrow 3 & 3 \;top\rightarrow 5 & 5 & 5 \; top\rightarrow 6 \end{matrix}\)
\(\begin{matrix}2 & 3 \; top\rightarrow 3 & 5\; top\rightarrow 5 \; top\rightarrow 5 & 6\end{matrix}\)
\(\begin{matrix}2 \;top\rightarrow 3\; top\rightarrow 3\; top\rightarrow 5 & 5 & 5 & 6\end{matrix}\)
Similar question(s) are as followings:
Online Quizzes of gs121 Data Structures and Algorithms
Binary Trees - Binary Search Tree - Quiz No.1
gs gs121 Data Structures and Algorithms
Online Quizzes
Binary Trees - Binary Search Tree - Quiz No.2
gs gs121 Data Structures and Algorithms
Online Quizzes
Binary Trees - Preorder Traversal - Quiz No.1
gs gs121 Data Structures and Algorithms
Online Quizzes