Q402
What is the first step in the algorithm of stooge sort(after base case)?
A.
apply stooge sort on first 2/3 elements of array
B.
apply stooge sort on last 2/3 elements of array
C.
apply stooge sort on first 1/3 elements of array
D.
compare first and last element of the array
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board