Question

Inal Examination 17. Which of the sorting algorithms listed below has the time fastest best case run (a) Heap sort (b) Merge
0 0
Add a comment Improve this question Transcribed image text
Answer #1

17 d) Insertion sort

insertion sort O(n) in best case where rest of them have O(nlogn )

18 c) insertion sort and quick sort have similar best case asymptotic time complexity .

because insertion sort has O(n) while quick sort has O(nlogn) in best case time complexity

19.b) counting sort is a linear sort

20 b) 17,5,13,3,2,4,12

21 c) O(n logn)

22.d) insertion sort best case run time always runs in fewer step than heap sort

Add a comment
Know the answer?
Add Answer to:
Inal Examination 17. Which of the sorting algorithms listed below has the time fastest best case...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT