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
Answer: Option D

Join The Discussion