Which of the following is true?

Category: QuestionsWhich of the following is true?
Editor">Editor Staff asked 5 months ago

Which of the following is true?
 
(a) B + tree allows only the rapid random access
 
(b) B + tree allows only the rapid sequential access
 
(c) B + tree allows rapid random access as well as rapid sequential access
 
(d) B + tree allows rapid random access and slower sequential access
 
Question is from B-Trees in chapter B-Trees of Data Structures & Algorithms I
 
The question was posed to me during an interview.

1 Answers
Editor">Editor Staff answered 5 months ago

Right answer is (c) B + tree allows rapid random access as well as rapid sequential access
 
Easiest explanation – The B+ -tree being a variation of B-tree allows rapid random access. In a B+ -tree the leaves are linked together, so it also provides rapid sequential access.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702