Which one of the following sorting algorithm requires recursion?

Hưng Thịnh

New member
Which one of the following sorting algorithm requires recursion?
A. pigeonhole sort
B. strand sort
C. insertion sort
D. counting sort
 
Answer: b
Explanation: Strand sort requires the use of recursion for implementing its algorithm. On the other hand, the sorting algorithms given in the remaining options use iterative methods.
 

Tìm kiếm

Back
Top