Sorting Visualizer
Interactive sorting algorithm visualizer to watch and learn how different sorting algorithms work in real-time. Visualize Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, and Heap Sort with step-by-step animations. Perfect for computer science students, developers preparing for interviews, and anyone learning data structures and algorithms. Features 6 different sorting algorithms with live visualizations, adjustable speed control from very slow to very fast, variable array size from 10 to 150 elements, real-time statistics showing comparisons and swaps, color-coded visualization with different colors for comparing (yellow), swapping (red), pivot (orange), and sorted (green) elements, live timer tracking execution time, responsive design that works on desktop, tablet, and mobile, dark and light theme support, and educational complexity information for each algorithm showing best, average, worst, and space complexity. Watch every comparison and swap as it happens with smooth animations. Generate new random arrays instantly. Stop and restart sorting at any time. Learn algorithm efficiency by comparing different sorting methods on the same data. Understand time complexity differences between O(n²) and O(n log n) algorithms visually. See how divide-and-conquer algorithms like Merge Sort and Quick Sort partition and solve sub-problems. Observe the heap building process in Heap Sort. All processing happens entirely in your browser with no data sent to servers. Perfect for visual learners, interview preparation, classroom teaching, algorithm comparison, and self-paced education.