Is Treap a randomized tree.

Category: QuestionsIs Treap a randomized tree.
Editor">Editor Staff asked 5 months ago

Is Treap a randomized tree.
 
(a) True
 
(b) False
 
My question is from Binary Trees in portion Binary Trees of Data Structures & Algorithms I
 
The question was asked during an interview for a job.

1 Answers
Editor">Editor Staff answered 5 months ago

The correct answer is (a) True
 
The explanation is: Treap is a type of data structure which is a combination of binary tree and heap. It is an example of a randomized binary search tree. It stores value in pairs.


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