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

A balanced order -n mult'way search tree in which each non-root node contains atleast ________ keys is called a B-tree of order n?

A
n-1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(n-1)/2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
n/2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
(n-1)2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B (n-1)/2

A balanced order -n multiway search tree in which each non-root node contains at least (n-1)/2 keys is called a B-tree of order n.

B tree is a self-balancing search tree and contains multiple nodes which keep data in sorted order. Each node has 2 or more children and consists of multiple keys.

B-tree is essentially just a sorted list of keys, which are {data, pointer or row locator} combinations. The actual structure of a B-tree consists of a number of nodes stored as items in the B-tree's file. Each node contains a portion of the sorted list of keys in the B-tree, along with pointers to other nodes.



924372_918865_ans_65fb6594239e4a5195a3dd79a79e373d.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to Genetics
BIOLOGY
Watch in App
Join BYJU'S Learning Program
CrossIcon