Trees on Data Structure and Algorithms related Questions and Answers - Page 8

Question 71 : What is the total time spent for N-1 merges in a dynamic equivalence problem?
1. O(N)
2. O(log N)
3. O(N log N)
4. O(M log N)
View Answer   Discuss with Members

Question 73 : What is the Height of the root node of ternary tree?
1. 1
2. 2
3. 3
4. 0
View Answer   Discuss with Members

Question 74 : How many extra nodes are there in Full K-ary tree than complete K-ary tree?
1. 1
2. 2
3. 3
4. Both have same number of nodes
View Answer   Discuss with Members

Question 75 : What is the depth of the root node of the ternary tree?
1. 2
2. 1
3. 0
4. 3
View Answer   Discuss with Members

Question 76 : Can leaf node be called child node in a K-ary tree?
1. True
2. false
3.
4.
View Answer   Discuss with Members

Question 77 : Can leaf node be called child node in a ternary tree?
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 78 : What is the worst case of finding the nearest neighbour?
1. O(N)
2. O(N log N)
3. O( log N)
4. O(N3)
View Answer   Discuss with Members

Question 79 : The expression obtained by recursively producing a left expression, followed by an operator, followed by recursively producing a right expression is called?
1. prefix expression
2. infix expression
3. postfix expression
4. paranthesized expression
View Answer   Discuss with Members

Question 80 : What is the time complexity for inserting a key or integer in Van Emde Boas data structure?
1. O (log M!)
2. O (M!)
3. O (M2)
4. O (log (log M))
View Answer   Discuss with Members


View 71 - 80 of 93 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