BXSUPREME7448 BXSUPREME7448
  • 31-12-2020
  • Computers and Technology
contestada

71 81 77 15 63 96 36 51 77 18 17

Show the contents of the array above each time a Merge Sort changes it while sorting the array into ascending order. Please explain your work and your answer.

Respuesta :

IfeanyiEze8899 IfeanyiEze8899
  • 02-01-2021

Answer:

The result of the merge sort is [15, 17, 18, 36, 51, 63, 71, 77, 77, 81, 96]

Explanation:

Merge sort divides and compares a data structure to sort its items. The sorting algorithm was first implemented by John von Neumann in 1945.

The merge sort steps for the array in the question is in the diagram below.

Ver imagen IfeanyiEze8899
Answer Link

Otras preguntas

during the 1800s the north was considered more of an industrial center
Which of the following was an advantage held by the South during the Civil War? A. More factories B. A larger population C. Superior military leaders D. M
Which of the following shows why the commutative property doesn't work under subtraction? A. 5 – 1 ≠ 1 – 5 B. 5 – 1 ≠ 5 – 1 C. 3 + 2 ≠ 2 + 3 D. 5 + 1 = 7 –
Suppose you're writing a letter and you recall a word you'd like to use, but you don't know how it's spelled. If you wanted to look up the word in a dictionary,
How many moles are in 1.50 grams of ethanol, CH3CH2OH?
Can someone please explain why 33 and 35 are these answers?
Pls help me with 19,20 pls thx and show me how u did it
Within the concentration camp, Wiesel sees a sign with what ironic message?
If QRST below is a rectangle, what is the measure of angle T + angle R?
9. Which is an example of faulty coordination? A. Tom Blackenship was not only a childhood friend of Mark Twain’s but also a model for the character Huck