In a B-tree of order m, where order means the maximum number of children a node may have, what is the maximum number of keys a node can hold?
Correct answer A. m − 1
Topic / 90 questions
Page 2 of Data Structures multiple-choice questions with answers. Tap an option to check yourself.
Page 2 of 5
Correct answer A. m − 1
Correct answer B. A left-right double rotation (left rotation at 10, then right rotation at 30)
Correct answer A. A single left rotation; 20 becomes the root
Correct answer A. −1, 0 or +1
Correct answer D. O(log n)
Correct answer C. 60
Correct answer D. 4
Correct answer D. Inorder
Correct answer A. 30, 10, 50, 20, 40, 60
Correct answer A. 5, 10, 30, 25, 55, 70, 60, 40
Correct answer C. A directed acyclic graph (DAG)
Correct answer A. 2i + 1 and 2i + 2
Correct answer C. O(n)
Correct answer B. [3, 4, 7, 10, 8]
Correct answer D. Queue
Correct answer C. Stack
Correct answer D. O(V²)
Correct answer D. A, B, D, E, F, C
Correct answer B. A, C, B, D, E
Correct answer B. 13