Q The complexity of merge sort algorithm is ___________.

  • A 0(n)
  • B 0(log n)
  • C 0(n2)
  • D 0(n log n)

MCQs Details

The time complexity of Merge Sort is 0(nlogn). Merge sort is based on the divide and conquer approach.