ansarishaheer697 ansarishaheer697
  • 06-03-2024
  • Computers and Technology
contestada

What is the total number of comparisons required to sort the following array in ascending order using insertion sort? 6 9 8 7
a. 9 comparisons
b. 10 comparisons
c. 12 comparisons
d. 16 comparisons

Respuesta :

Otras preguntas

Which of the following does Article III of the U.S. Constitution give Congress the power to do? nominate federal judges overrule court decisions conduct appella
Why aren't all cells in our body alike? Give reason
how do you solve y=4x-9 y=x-3
How did Democratic-Republicans react to the Alien and Sedition Acts? a. They supported the acts by voting for them in Congress. b. They opposed them by charging
How did the Articles of Confederation equalize power among the states? Each state had votes based on their population only. Each state had two standard votes, a
Because the media’s favorable or unfavorable coverage affects ______________, leaders choose tactics with the media in mind. (Points : 2) propaganda public opi
The Pacific Ocean is shrinking while the Atlantic Ocean is expanding. Which type of plate boundary must be involved in each location? Question 2 options: a.Paci
The Pacific Ocean is shrinking while the Atlantic Ocean is expanding. Which type of plate boundary must be involved in each location? Question 2 options: a.Paci
John has two sisters and two brothers. Three of the five children in the family have dark brown hair, one has red hair, and one has light brown hair. The variat
The Federal Deposit Insurance Corporation (FDIC) __________. A.insures customer deposits if a bank fails B.insures banks if a borrower does not repay the loan C