A sorting function is called to sort a list of 100 integers that have been read from

Question:

A sorting function is called to sort a list of 100 integers that have been read from a file. If all 100 values are zero, what would the execution requirements (in terms of Big-O notation) be if the sort used was 

1. QuickSort, with the first element used as the split value? 

2. ShortBubble? 

3. SelectionSort? 

4. HeapSort? 

5. InsertionSort? 

6. MergeSort?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

C++ Plus Data Structures

ISBN: 9781284089189

6th Edition

Authors: Nell Dale, Chip Weems, Tim Richards

Question Posted: