dfrtgyuhijfghj2457 dfrtgyuhijfghj2457
  • 18-12-2020
  • Computers and Technology
contestada

Identify what algorithm or concept the following code relates to. void Sort(int array[], int tempArray[], int left, int right) { int i, j, k, middle; if(right > left) { middle

Respuesta :

IfeanyiEze8899 IfeanyiEze8899
  • 19-12-2020

Answer:

Binary sort

Explanation:

Binary sort is one of the fastest search techniques used on arrays and other iterable data types. It algorithm sorts the array in ascending order then gets the item in the middle from which it divides the array to be searched in two parts. If the searched term is less than the mid item, then it is searched for in the first part, else it would be in the second.

Answer Link

Otras preguntas

Did any athletes from lipscomb play in the professional ranks
Scouts moment on the radley porch is symbolically equivalent to
Which is a synonym for the third definition of the word sweet? A) angelic B) displeasing C) hateful D) unmelodious
why is it better to keep your money in a bank then in a piggy bank?
In economics investment describes spending
what is a connection between chinese immigration and railroads?
Jupiter's distance from the sun in scientific notation. Please Help!
A cola manufacturer produces 3 different types of colas: regular, diet, and cherry. for every cherry cola produced, 6 diet and 10 regular colas are also produce
Why asians moved to california around 1900?
Who warns ophelia not to fall in love with hamlet?