Explain Quick Sort with example.
Answers
Answered by
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
Math,
7 months ago
Social Sciences,
7 months ago
Computer Science,
1 year ago
Chemistry,
1 year ago
Math,
1 year ago