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

An internet company charges $8.95 per month for the first 3 months that it hosts your Web site. Then the company charges $11.95 per month for Web hosting. How m
Who is the executive branch checking when the president calls a special session of congress
I’m confused on how to work the pie charts
Joanie wrote a letter that was 1 1/4 pages long. Katie wrote a letter that was 3/4 page shorter then joagies letter. How long was Katies letter
Answer the question on the screen plzzz
Solve 2 - 3 cos x = 5 + 3 cos x for 0° ≤ x ≤ 180° a. 150° b. 30° c. 60° d. 120°
who is the plaintiff in united states vs Lopez
I Need Assistance With These
Describe how you could move the flashlight above the paper to
Which is not an abundant natural resource found in Africa?