Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 7,295 times

Related Categories

Sorting Arrays

Quicksort uses a divide and conquer approach, dividing the total array in half, then recursively dividing each half info halves, and those halves into halves and so on and so on. Eventually, it just has two values, and can swap them if needed. While this is not exactly how a Quicksort works, it is a general description. What to remember is that a Quicksort uses a divide and conquer approach utilizing recursion. This leads to a big O of N log N.

Comments