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
This question was addressed to me in a job interview.
I need to ask this question from Sorting topic in section Sorting of Data Structures & Algorithms II