Which of the following is not true?

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

Which of the following is not true?
 
(a) Trie requires less storage space than hashing
 
(b) Trie allows listing of all the words with same prefix
 
(c) Tries are collision free
 
(d) Trie is also known as prefix tree
 
Question is taken from Trie topic in division Trie of Data Structures & Algorithms I
 
I had been asked this question in an online quiz.

1 Answers
Editor">Editor Staff answered 5 months ago

Correct answer is (a) Trie requires less storage space than hashing
 
Easiest explanation – Both the hashing and the trie provides searching in the linear time. But trie requires extra space for storage and it is collision free. And trie allows finding all the strings with same prefix, so it is also called prefix tree.


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: 40701