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

Can someone please help me ?
What is the slope of any line parallel to the line 8x + 9y = 3 in the standard (x,y) coordinate plane?
How many grandparents have my grandparents? who can solve it is very good on maths! it is just a lpgic problem! i know the answer :)
How many miles can you get on one tank of gas if your tank holds 18 gallons and you get 22 miles per gallon?
how do day and nightat uranus's equator change asthe uranus revolves around the sun?
what does etymology study?
The significance of the Open Door Policy for the United States lay in its (A) providing a use for the Philippines as a way station between China and the United
A circular pool is ten feet in diameter and five feet deep. What is its volume, in cubic feet?
How many miles can you get on one tank of gas if your tank holds 18 gallons and you get 22 miles per gallon?
which explorer sailed for france?