Algorithms Visulized

.


[1] Bubble_Sort

Bubble sort repeatedly swaps adjacent out-of-order elements until sorted.

[2] Merge_Sort

Merge sort divides the array in half, sorts each half, and then merges the sorted halves.

[3] Insertion_Sort

Insertion sort builds the sorted array one item at a time, inserting each new item into its proper place.

[4] Selection_Sort

Selection sort repeatedly selects the smallest remaining element and swaps it with the current element.

[5] Quick_Sort

Quick sort selects a pivot element and partitions the array around the pivot, sorting the elements.

[6] Heap_Sort

Heap sort converts the array into a heap, then repeatedly extracts the maximum element to sort the array.