Which is the correct order of the following algorithms with respect to their time Complexity in the best case ?
(A) Merge sort > Quick sort >Insertion sort > selection sort
(B) insertion sort < Quick sort < Merge sort < selection sort
(C) Merge sort > selection sort > quick sort > insertion sort
(D) Merge sort > Quick sort > selection sort > insertion sort
Answer: (B)
Explanation:
In best case, Quick sort: O (nlogn) Merge sort: O (nlogn) Insertion sort: O (n) Selection sort: O (n^2)

… [Trackback]
[…] Here you can find 13649 more Info to that Topic: geeksforgeeks.org/algorithms-insertionsort-question-2-3/ […]
… [Trackback]
[…] Read More to that Topic: geeksforgeeks.org/algorithms-insertionsort-question-2-3/ […]
… [Trackback]
[…] Find More Information here on that Topic: geeksforgeeks.org/algorithms-insertionsort-question-2-3/ […]
… [Trackback]
[…] Find More here on that Topic: geeksforgeeks.org/algorithms-insertionsort-question-2-3/ […]
… [Trackback]
[…] Find More Information here to that Topic: geeksforgeeks.org/algorithms-insertionsort-question-2-3/ […]
… [Trackback]
[…] Here you will find 86404 more Information on that Topic: geeksforgeeks.org/algorithms-insertionsort-question-2-3/ […]
… [Trackback]
[…] Find More Info here to that Topic: geeksforgeeks.org/algorithms-insertionsort-question-2-3/ […]