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.
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.