What is the time complexity of Jump Search?
O(logn)
O(n)
O(sqrt(n))
O(nlogn)
6 practice sets · Page 1 of 1
What is the time complexity of Jump Search?
O(logn)
O(n)
O(sqrt(n))
O(nlogn)
What is the length of the step in jump search?
n
n/2
sqrt(n)
1
Which of the following is not an advantage of Fibonacci Search?
When the element being searched for has a non uniform access storage
Can be used in magnetic tapes
Can be used for large arrays which do not fit in the CPU cache or in the RAM
It can be applied efficiently on unsorted arrays
What is the time complexity of Fibonacci Search?
O(logn)
O(n)
O(n^{2})
O(nlogn)
Choose the recursive formula for the Fibonacci series.(n>=1)
(F(n) = F(n+1) + F(n+2))
(F(n) = F(n) + F(n+1))
(F(n) = F(n-1) + F(n-2))
(F(n) = F(n-1) - F(n-2))
Which algorithmic technique does Fibonacci search use?
Brute force
Divide and Conquer
Greedy Technique
Backtracking