Sorting Visualizer is a real-time, interactive application that visually demonstrates various sorting algorithms, making it easier to understand their working principles. This project is built using Java and Java Swing for the graphical user interface.

- Real-time visualization of popular sorting algorithms.
- User-friendly graphical interface with Java Swing.
- Step-by-step execution to observe algorithm behavior.
- Adjustable sorting speed and array size.
- Supports multiple sorting techniques, including:
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Heap Sort
- Java - Core programming language
- Java Swing - GUI framework for rendering visualizations
- Clone the repository:
git clone https://github.com/rahulsharmadev0/sorting-visualizer.git cd sorting-visualizer - Compile the Java files:
javac SortingVisualizer.java
- Run the application:
java SortingVisualizer
- Select a sorting algorithm from the available options.
- Adjust the array size and sorting speed if required.
- Click the "Start" button to begin visualization.
- Observe the step-by-step sorting process in real time.
- Restart or select a different algorithm to explore more.