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

In this activity, you will record a paragraph, or at least five sentences, in Spanish, about your hobbies, using any audio recording software. In your response,
Show your knowledge of photosynthesis by choosing the correct role of sunlight in the photosynthesis reaction.
* How many seconds do you apply an Epi Pen for? O 15 10 30 20
2 하 Number one over5+ 2/5 =
PLS HELP I'LL MARK BRAINLEST
Select the correct symbol. 0.88 ? 0.178 A.
maddie help please ee
Help me on this!! Explain please.
At Emmy's Swimwear, there are 28 bikini styles and 42 other types of swimsuit. What percentage of the swimsuit styles are bikinis?
There are times when others will respond to us in a way that is disappointing. When this occurs what will you do?1. Give the other person space 2. Communicate y