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

PLease answer for me. I have been struggling for a day.
Which equation has infinitely many solutions? 1) 5(2x + 4) = 10x - 12 2) 5(2r + 4) = 10(r + 2) 3) 5(2r + 4) = 12r 4) 5(2x + 10) = 20(x + 1)
The radius of a cylinder is 2x inches, and the height of the cylinder is (8x + 2) inches. What is the expression that represents the volume of the cylinder?
Which idea was shared by the ancient Maya, Aztec, and Inca civilizations?
Prove that (cos(3A) - sin(3A))/(1-2sin(2A)) ≡ cos(A) + sin(A) Topic : Trigonometry # Proving Trigonometric Identities # Double Angle Identities # Addition Iden
Mythology what is the creation myth
Explain a strategy you can use to compare 2/6 & 5/8
what’s digital infastructure
Mary bought a bag of rice for 9,000.00 and sold it for 6,300.00. What was her percentage loss?​
Find the slope (rate of change) of the line. A. 5 B. -5 C. 1/5 D. -1/5