Although quick sort has a worst case time complexity of O(n^2), but for sorting a large amount of numbers, quick sort is very efficient because of the concept of locality of reference.
Quick Sort
Quick Sort
Because the quick sort can be used for large lists but selection not. selection sort is used to find the minimum element ,but quick choose element called pivot and move all smaller nums before it & larger after it.
Yes, that's how quick-sort works.
Yes, Quick Sort is an in-place sorting algorithm.
When you want to sort an array.
Quick sort is more efficient for large datasets compared to selection sort.
quick sort is a divide and conquer method , it is not dynamic programming
quick sort
quick sort
it has less complexity
Comolexity Not efficent big data