

MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Data Structure knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following tree traversals work if the null left pointer pointing to the predecessor and null right pointer pointing to the successor in a binary tree? |
A. | inorder, postorder, preorder traversals |
B. | inorder |
C. | postorder |
D. | preorder |
Answer» B. inorder | |
2. |
In general, the node content in a threaded binary tree is ________ |
A. | leftchild_pointer, left_tag, data, right_tag, rightchild_pointer |
B. | leftchild_pointer, left_tag |
C. | leftchild_pointer, left_tag, right_tag, rightchild_pointer |
D. | leftchild_pointer, left_tag, data |
Answer» B. leftchild_pointer, left_tag | |