Trie on Data Structure and Algorithms related Questions and Answers - Page 2

Question 11 : Can suffix tree be used in bioinformatics problems and solutions.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 13 : Do all the nodes have at least two children in suffix tree.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 14 : How much time does construction of suffix tree take?
1. O (log M)
2. O (M!)
3. Exponential to Length of Tree
4. Linear to Length of Tree
View Answer   Discuss with Members

Question 15 : What is the other name for Suffix Tree?
1. Array
2. Stack
3. Priority Queue
4. PAT Tree
View Answer   Discuss with Members

Question 16 : Trie is also known as _________
1. Digital Tree
2. Treap
3. Binomial Tree
4. 2-3 Tree
View Answer   Discuss with Members

Question 17 : What is a time complexity for inserting an alphabet in the tree using hash maps?
1. O (log n!)
2. O (n!)
3. O (n2)
4. O (1)
View Answer   Discuss with Members

Question 18 : What is a time complexity for checking a string of length n is substring or not?
1. O (log n!)
2. O (n!)
3. O (n2)
4. O (n)
View Answer   Discuss with Members

Question 20 : How much space does construction of suffix tree takes?
1. O (log M)
2. Exponential to Length of Tree
3. O (M!)
4. Linear to Length of Tree
View Answer   Discuss with Members


View 11 - 20 of 39 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter