A web application to visualize various sorting algorithms.
Interactive Visualizations: Select a sorting algorithm and visualize each step.
Multiple Sorting Algorithms: Includes popular sorting algorithms.
Customizable Parameters: Adjust settings like array size and sorting speed.
Repeatedly steps through the list, compares adjacent elements, and swaps them if needed. It’s a basic and inefficient sorting method.
An improvement on Bubble Sort that reduces the number of comparisons and swaps by initially considering distant elements and gradually reducing the gap.
A comparison-based technique using a binary heap structure. Elements are sorted by building a heap and repeatedly extracting the maximum element.
Iteratively builds a sorted list by taking each new element and inserting it into its correct position within the sorted portion.
Divides the list into sorted and unsorted portions and finds the minimum element from the unsorted portion to swap with the first unsorted element.
A variation of Insertion Sort that starts by sorting elements far apart and reduces the gap, improving efficiency over regular Insertion Sort.