Miscellaneous on Data Structure and Algorithms related Questions and Answers - Page 5

Question 45 : Co-ordinate compression can only be applied in a co-ordinate system problem
1. true
2. false
3.
4.
View Answer   Discuss with Members

Question 46 : What will be the worst case time complexity of code to find sum in given query range (l,r) in an array of size n with q number of such queries when we apply MO's algorithm?
1. O(n*q)
2. O(n)
3. O((q+n)√n)
4. O(q*√n)
View Answer   Discuss with Members

Question 47 : Topological sort starts from a node which has?
1. Maximum Degree
2. Minimum Degree
3. Any degree
4. None of the mentioned
View Answer   Discuss with Members

Question 49 : What will be the time complexity of update query operation in an array of size n when we use square root optimization?
1. O(√n)
2. O(n)
3. O(1)
4. O(n2)
View Answer   Discuss with Members


View 41 - 49 of 49 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