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

The total of one's mental, emotional, and social characteristics is one's: manners personality social 6 individuality
The electromagnetic waves that have the lowest frequencies are called a. radio waves. c. ultraviolet waves. b. microwaves. d. x-rays.
why were the jobs in each region different as a slave
Cell references in a formula are called _____.
Which of the following are examples of physical systems? the Labrador current the Golden Gate Bridge the Great Barrier Reef the Florida Everglades the Hoover Da
Label all parts of speech for: No way! Ask Gerald to go.
How did the Grand Canyon get it's name?
One of the main things that tobacco did for Jamestown was to
standard form -2.56 x 10 ^3
This process produces four new cells with half of the chromosomes as the parent cell. Mitosis Meiosis Cell division Sexual reproduction