Searching on Data Structure and Algorithms related Questions and Answers

Question 1 : What is the time complexity of Jump Search?
1. O(logn)
2. O(n)
3. O(sqrt(n))
4. O(nlogn)
5.
View Answer   Discuss with Members

Question 3 : What is the length of the step in jump search?
1. n
2. n/2
3. sqrt(n)
4. 1
5.
View Answer   Discuss with Members

Question 5 : What is the time complexity of Fibonacci Search?
1. O(logn)
2. O(n)
3. O(n2)
4. O(nlogn)
5.
View Answer   Discuss with Members

Question 7 : Which algorithmic technique does Fibonacci search use?
1. Brute force
2. Divide and Conquer
3. Greedy Technique
4. Backtracking
5.
View Answer   Discuss with Members

Question 8 : Jump search has a worst case time complexity of O(n).
1. True
2. False
3.
4.
5.
View Answer   Discuss with Members

Question 9 : Jump search is worse than linear search in terms of time complexity.
1. True
2. False
3.
4.
5.
View Answer   Discuss with Members

Question 10 : Best case of jump search will have time complexity of _________
1. O(1)
2. O(n)
3. O(log n)
4. O(n log n)
5.
View Answer   Discuss with Members


View 1 - 10 of 118 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