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

When annotating a visual work, one must make an educated guess as to the surroundings, happenings, location, etc. in a visual. What is this called? A. predict w
Officials argue that the government needs to reduce the national debt. Which actions are most likely to accomplish this goal?
Etta bought 11.5 yards of fabric selling for $0.90 per yard. What was the total cost?
need help asap will upvote Which statement about the ordered pairs (3, −8)(3, −8) and (4, 4)(4, 4) is true for the equation 3x−y4=113x−y4=11 ? (3, −8)(3,
give the value of x that makes this equation true (3)(-4)(x)=0A 4B -3C 1D 0
How does the image of the flag flying over fort McHenry related to the central idea of the opinion?
The best definition of population density is:?
_______ is the effect of a single gene on more than one characteristic. Epistasis Multiple alleles Pleiotropy none of the above
what is the sum of 196 and 482
what is 32.1% of 6200