Write algorithm to sort list of numbers using Quick sort. Explain ste…

Previous year question for Data Structures.

Question

Write algorithm to sort list of numbers using Quick sort. Explain stepwise working of it for the following list of numbers : 15, 4, 3, 10, 8, 7, 13, 6, 12, 89, 40. Also write the time complexity of Quick sort in best and worst case.

Related pages

Open on CachedInfo