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

What is the purpose of License plates?
Simplifying leave your answer in index form. 3 to the power of 2 ×3 by the power of 6 ÷3 by the power of 5
These single-celled organisms can be pathogenic but some can also be edible. A. bacteria B. viruses C. protozoa
Find the length of a side of the square shown below. х 6V2 X = x = [?]
PLEASEEE HELPPPPPP GIViNG POINTS
To pay for a $23,700 motorcycle, Carmen made a down payment of $3900 and took out a loan for the rest. On the loan, she paid monthly payments of $438.27 for 4 y
Please answer number 4 Needed by Sunday and asap Please include an explanation if possible
The functions f and g are defined as follows.
the area of triangle is 38.5 cm. help me solve this question. thanks ​
What does the truth do to a poet?