+1 vote
in Data Structures & Algorithms II by (110k points)
Jump search algorithm requires which of the following condition to be true?

(a) array should be sorted

(b) array should have not be sorted

(c) array should have a less than 64 elements

(d) array should be partially sorted

I got this question in my homework.

I'd like to ask this question from Searching topic in chapter Searching of Data Structures & Algorithms II

1 Answer

+1 vote
by (614k points)
selected by
 
Best answer
Correct answer is (a) array should be sorted

Easiest explanation - Jump sort requires the input array to be sorted. The algorithm would fail to give the correct result if array is not sorted.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...