SORTING ALGORITHM VISUALIZER

by Algorithm Avengers

Team Members

  • Payal Maletha
  • Gaurav Singh
  • Ritik Bhandari
  • Saksham Godiyal

About This Project

A visual tool to understand and compare different sorting algorithms. Watch how algorithms like Bubble Sort, Quick Sort, and Merge Sort work in real-time.

Key Features

  • Visualize 7 different sorting algorithms
  • Step-by-step execution mode
  • Custom input arrays
  • Performance comparison between algorithms
  • Real-time metrics (comparisons, time complexity)
  • Dark and light theme options

Educational Value

This visualizer helps students and developers understand the inner workings of sorting algorithms. By seeing the algorithms in action, users can grasp concepts like time complexity, space complexity, and algorithm efficiency in a more intuitive way than through code alone.

SORTING ALGORITHM VISUALIZER

by Algorithm Avengers

What is Bubble Sort?

Bubble Sort is a simple sorting algorithm that repeatedly compares two adjacent elements and swaps them if they are in the wrong order. This process continues until the list is sorted. It's named 'bubble' because the largest values 'bubble up' to the end.

Algorithm Steps:

Current Input: [20 random numbers]
Sorted Value: [sorted values]
Original Input Array
Sorted Array

Comparison of Sorting Algorithms

Algorithm Number of Comparisons Time Complexity Time Taken (ms)

Best Algorithm

-

-

Number of Comparisons: 0

Time Complexity: -

Time Taken: 0 ms