Which sorting algorithm is based on the divide-and-conquer strategy?

  • A Bubble sort
  • B Insertion sort
  • C Selection sort
  • D Merge sort

Explanation

Merge sort splits the array into halves, sorts each half recursively and merges the results, which is the classic divide-and-conquer approach.