Mark As Completed Discussion

Are you sure you're getting this? Click the correct answer from the options.

Which step in the MergeSort algorithm involves comparing elements from both halves and selecting the smaller (or larger) element at each step to form the final sorted array?

Click the option that best answers the question.

  • Dividing the input array into two halves
  • Recursively sorting the left and right halves
  • Merging the two sorted halves into a single sorted array