Quick sort uses divide and conquer approach. It divides the list in
smaller 'partitions' using 'pivot'. The values which are smaller than
the pivot are arranged in the left partition and greater values are
arranged in the right partition. Each partition is recursively sorted
using quick sort.
No comments:
Post a Comment