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

Which expression is equivalent to (ab8)4?
Jane is 15 years older than Ganesh. She is four times as old as ganesh. Find their present ages
it states us to compare two columnsplease help me​
One may not claim the additional costs from the parents or guardians of uninvited children, to a wedding of social event. An invitation to a social gathering co
Find mUW please help!!!
Who is Christina Rivera Garza?
How is the area of the base the same as the volume of the cylinder when the height is 1.please help​
The point u(4,-1) is reflected over the x axis
Significant sea level changes can be traced to changes in the
Examine a partial order relation where is the relation on the set of people such that if and are people and is older than .