Computer Science, asked by Rishabhu5127, 1 year ago

Explain Quick Sort with example.

Answers

Answered by preetkaur1298
3

Explanation:

quick sort is a divide and conquer algorithm

it creates two empty arrays to hold element less than the pivot value and elements greater than the pivot value, and then recursively sort the sub arrays. there are two basic operations in the algorithm, swapping items in place and partitioning a section of the array.

Similar questions