Which of the following algorithms use recursion for sorting an array of integers?
Show answerHide answer
Correct answer: (D) Quick sort and merge sort
Explanation
Quick sort and merge sort are divide-and-conquer algorithms and are normally written recursively. Bubble sort and insertion sort are simple iterative algorithms.