1.

A program to search a contact from phone directory can be implemented efficiently using ______(a) a BST(b) a trie(c) a balanced BST(d) a binary treeMy question is based upon Trie in division Trie of Data Structures & Algorithms II had been asked this question in class test.

Answer»

The CORRECT choice is (b) a trie

To explain: Dictionaries, phone DIRECTORIES can be implemented efficiently using the trie. Because it trie PROVIDES the EFFICIENT linear time searching over the entries.



Discussion

No Comment Found

Related InterviewSolutions