1.

For what size of nodes, the worst case of usage of space in suffix tree seen?(a) n Nodes(b) 2^n Nodes(c) 2n nodes(d) n! nodesQuestion is taken from Suffix tree in division Trie of Data Structures & Algorithms IThe question was posed to me during an online exam.

Answer»

Right CHOICE is (c) 2n nodes

The BEST I can explain: In computer science, the WORST case of usage of space in a suffix TREE is found to be for a Fibonacci word for a full 2n nodes. The time complexity for usage of space is found to be O (n).



Discussion

No Comment Found

Related InterviewSolutions