tylerswanson3861 tylerswanson3861
  • 01-09-2020
  • Mathematics
contestada

Show the steps for the merge sort to sort the following values: {199,16,186,115,158,135,186,14,10}

Respuesta :

Chimara
Chimara Chimara
  • 03-09-2020

Answer:

Step-by-step explanation:

STEP 1: Show the array of values.

The array is {199, 16, 186, 115, 158, 135, 186, 14, 10}

STEP 2: Determine the number of elements/values.

Here, it is 9

STEP 3: Starting from zero, assign number tags to each value.

Since the values are 9 in number, the numerical tags will be 0, 1, 2, ..., 8

mv

STEP 3: Check if the sub-array is a base case.

This sub-array has at least 2 figures or values, hence is not a base case.

STEP 4:

Answer Link

Otras preguntas

can someone give me the answer
Why did some people want to reform the catholic church in the 1400s
Early naturalists found fossils of the same species of plants and animals located on continents that are separated by thousands of miles of oceans. Which ge
(1,632) (4.0 x 10⁴) =
What is the answer to this question
What might happen first when a large tree in the forest dies and falls
There are 15 cartons that each contain a dozen eggs. Of all of the eggs ,5 are cracked? Round to the nearest percent, if necessary. A. 3%, B. 5%, C. 25%, D. 33
If the required reserve ratio is 20 percent and commercial bankers decide to hold additional excess reserves equal to 5 percent of any newly acquired checkable
I need help answering this question!!
Which of the following best explains why the population in some regions north of the Huang River stayed constant over this time period? Only a few new groups mi