Searching Algorithms - Study Mode
[#86] What is the time complexity of exponential search for a large dataset?
Correct Answer
(A) O(log n)
[#87] Which searching algorithm is best suited for finding an item in an array with a uniform distribution of values?
Correct Answer
(D) Interpolation Search
[#88] What is the worst case runtime of linear search(recursive) algorithm?
Correct Answer
(A) O(n)
[#89] What is the length of the step in jump search?
Correct Answer
(C) sqrt(n)
[#90] What is the time complexity of exponential search when the input array is sorted but the values are not uniformly distributed?
Correct Answer
(C) O(n)