1.

Jump search has a worst case time complexity of O(n).(a) True(b) FalseThe question was asked during an interview.My question is taken from Searching in division Searching of Data Structures & Algorithms II

Answer»

Right option is (b) False

Easy EXPLANATION - The TIME complexity of jump SEARCH is O(n^1/2) in WORST and average case. It is due to the FACT that size of optimal jump is n^1/2.



Discussion

No Comment Found

Related InterviewSolutions