Fundamentals of Algorithms

Question #53

Read the question, compare the options, and review the correct answer below.

CS502 · Final-term only#53

Merge sort makes two recursive calls. Which statement is true after these recursive calls finish, but before the
merge step?

  1. A
    ? ?The array elements form a heap
  2. B
    ? ?Elements in each half of the array are sorted amongst themselves click here 4 detail
  3. C
    ? ?Elements in the first half of the array are less than or equal to elements in the second half of the array
  4. D
    ? ?None of the above
Show correct answer

Correct answer: B. ? ?Elements in each half of the array are sorted amongst themselves click here 4 detail

Check community answers against your course notes.
← More practice questionsTake a timed test