Archive for the 'Video' Category

Pick an element from the array (the pivot), partition the remaining elements into those greater than and less than this pivot, and recursively sort the partitions. There are many variants of the basic scheme above: to select the pivot, to partition the array, to stop the recursion on small partitions, etc.
Quick-sort is a randomized sorting […]

Bubble sort, sometimes shortened to bubblesort, also known as exchange sort, is a simple sorting algorithm.
It works by repeatedly stepping through the list to be sorted, comparing two items at a time and swapping them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, […]


You are currently browsing the DataStructures weblog archives for the 'Video' category.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.