wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The major drawback of B-tree is the difficulty of traversing the keys sequentially. The __________ tree retains the rapid random access property of the B-tree while also allowing rapid sequential access.

A
AVL
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
B+
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Binary
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Height Balanced
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B B+

The major drawback of B-tree is the difficulty of traversing the keys sequentially. The B+ tree retains the rapid random access property of the B-tree while also allowing rapid sequential access.

B-tree:-

A B-tree is a self-balancing tree data structure that keeps data sorted and allows searches, sequential access, insertions, and deletions in log arithmetic time. The B-tree is a generalization of a binary search tree in that a node can have more than two children.

A B+ tree is a data structure often used in the implementation of database indexes. Each node of the tree contains an ordered list of keys and pointers to lower level nodes in the tree. These pointers can be thought of as being between each of the keys. To search for or insert an element into the tree, one loads up the root node, finds the adjacent keys that the searched-for value is between, and follows the corresponding pointer to the next node in the tree.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Administration Reforms
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon