1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
miss Akunina [59]
3 years ago
12

assume that you want to sort an array have 100000 elements which algorithm (insert sort algorithm or quick sort algorithm) is th

e best option ? why?
Computers and Technology
1 answer:
Rama09 [41]3 years ago
4 0

Answer:

Quick Sort.

Explanation:

Quick Sort will be best suited for an array having 100000 elements instead of the insertion sort algorithm because as we know the average time complexity of quick sort is O(NlogN) and for insertion sort is O(n^2).The sorting totally depends upon the pivot that is being selected in quick sort.

While insertion sort is best suited for arrays that are already sorted it takes O(n) time in those cases.

Since the array that we have is very large and so we need an algorithm that can sort the array faster than the other sorting algorithms.Quick  Sort is also inplace and does not requires extra space to do the sorting.

You might be interested in
PLEASE HELP MEH IDK WHAT TO DO!!!!! PLEASE!!!!!!!!!!!!
Over [174]
I would ask myself c
3 0
3 years ago
Read 2 more answers
The values that you use with a function are called arguments. true or false.
ki77a [65]
This is a true answer
6 0
4 years ago
Give example of a biometric authentication device​
seropon [69]

Finger Print Scanner, Spit Sample, Face ID

7 0
4 years ago
comparative clinical and cost analysis between surgical and non-surgical intervention for knee osteoarthritiis
solmaris [256]

To assess the treatment options and costs for osteoarthritis of the knee (OAK), a condition that affects the knee joint and progresses over time owing to cartilage and bone deterioration.

Methods: Over the course of two years, we prospectively examined the clinical results and quantified cumulative direct expenses of patients with OAK sent to our multidisciplinary OA programme.

A total of 133 patients were evaluated. All showed radiographic signs consistent with moderate to severe OAK. We tracked and examined changes in the Western Ontario McMaster Osteoarthritis Index (WOMAC), Minimal Clinically Important Improvement (MCII), and BMI.

The total direct expenditures for all subjects' medical and surgical care during a two-year period were calculated.

Learn more about osteoarthritis:

brainly.com/question/28546590

#SPJ4

5 0
1 year ago
Malware that is spread through security warnings or advertisements for antivirus software is known as
svetlana [45]
It is known as A bug
5 0
4 years ago
Other questions:
  • A(n ____________ is considered a named collection of bytes having persistent or lasting storage.
    10·1 answer
  • A simple way to think of the Excel application is as a giant ______.
    5·2 answers
  • Your browsing the Internet and realize your browser is not responding which of the following will allow you to immediately exit
    14·2 answers
  • Darian has a gourmet cupcake business and needs a website to compete with the other bakeries in his area. He has a Google My Bus
    15·1 answer
  • TOPIC-PYTHON
    8·2 answers
  • Agent Hunt is transferring classified files from the CIA mainframe into his flash drive. SSS represents the size of the files on
    12·1 answer
  • Write a program to compute the sum of digits in a number given by the user. You must use your own function to compute the sum of
    6·1 answer
  • Alguien que me pueda ayudar diciéndome las características de Visual Object en programacion porfavor?!
    6·1 answer
  • I just logged onto brainly and all my questions were deleted and i lost 2 brainliest. What has brainly done to my account I also
    6·2 answers
  • Write a recursive decent algorithm for a java while statement, a Javas if statement , an logical/mathematical expression based o
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!