1.

Which of the following special type of trie is used for fast searching of the full texts?(a) Ctrie(b) Hash tree(c) Suffix tree(d) T treeOrigin of the question is Trie topic in chapter Trie of Data Structures & Algorithms II got this question in a job interview.

Answer»

Correct choice is (c) Suffix tree

The best EXPLANATION: Suffix tree, a special TYPE of trie, CONTAINS all the SUFFIXES of the given TEXT at the key and their position in the text as their values. So, suffix trees are used for fast searching of the full texts.



Discussion

No Comment Found

Related InterviewSolutions