Best case of jump search will have time complexity of _________

Answer: a
Explanation: Best case of jump search will be when the first element of the array is the element that is being searched. In this case only one comparison will be required. Thus it will have a time complexity of O(1).
 

Tìm kiếm

Back
Top