Skip to content

Prizag/Sorting-Algorithm-Visualizer

Repository files navigation

Sorting Algorithm Visualizer

This project is a Sorting Visualizer built using Java Swing.
It demonstrates the step-by-step working of common sorting algorithms:

  • Bubble Sort
  • Selection Sort
  • Merge Sort

๐Ÿš€ Features

  • Visualizes how sorting algorithms work in real time.
  • Color-coded bars for better understanding.
  • Adjustable delay to control animation speed.
  • Supports multiple sorting algorithms:
    • ๐ŸŸฆ Bubble Sort
    • ๐ŸŸฉ Selection Sort
    • ๐ŸŸจ Merge Sort

๐Ÿ–ผ๏ธ Visualization Example

  • Blue bars โ†’ Unsorted values
  • Cyan/Yellow bars โ†’ Elements being compared
  • Green bars โ†’ Sorted portion

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages