Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔄 Sorting Visualizer

A web application to visualize sorting algorithms in action. Watch how different sorting algorithms work step by step with interactive controls.

🌐 Live Demo

📊 Available Algorithms

  • Bubble Sort
  • Quick Sort
  • Merge Sort
  • Heap Sort
  • Insertion Sort
  • Selection Sort

✨ Features

  • Visual representation of sorting process
  • Adjustable array size and sorting speed
  • Color-coded elements to track sorting progress
  • Generate new random arrays
  • Responsive design for all devices

⏱️ Time Complexities

Algorithm Best Average Worst Space
Bubble Sort O(n) O(n²) O(n²) O(1)
Quick Sort O(n log n) O(n log n) O(n²) O(log n)
Merge Sort O(n log n) O(n log n) O(n log n) O(n)
Heap Sort O(n log n) O(n log n) O(n log n) O(1)
Insertion Sort O(n) O(n²) O(n²) O(1)
Selection Sort O(n²) O(n²) O(n²) O(1)

🚀 Quick Start

  1. Clone the repository
git clone https://github.com/kxshrx/Sortit.git
  1. Open index.html in your browser

  2. Start visualizing:

    📊 Choose a sorting algorithm
    🎚️ Adjust the array size and speed
    🔄 Click 'Generate New Array' for a new sequence
    ▶️ Press 'Sort' to start visualization
    

🛠️ Tech Stack

HTML5 CSS3 JavaScript

👤 Author

Kishore @kxshrx

About

Interactive visualization tool for sorting algorithms. Watch and learn how different sorting algorithms work in real-time with adjustable speed and array size.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages