Skip to content

Visualization of several sorting algorithms simultaneously C++ SFML

Notifications You must be signed in to change notification settings

Jeziorop/sortownik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithms Visualization Project

Overview

This project provides a dynamic and interactive way to understand and visualize the inner workings of popular sorting algorithms. Sorting algorithms are fundamental in computer science, and visualizations make it easier to grasp their behavior and efficiency.

How It Works

The visualization is built using C++ with the help of libraries such as:

  • SFML: For graphical visualizations.
  • thread: Every visualization is run on it's own thread.

The program takes a random data set as input and dynamically visualizes the sorting process, providing insights into number of swaps and comparisons.

Demonstration

Watch the video below for a demonstration of how the visualization works:

demonstration.mp4

Supported Algorithms

  • Bubble Sort
  • Insertion Sort
  • Quick Sort
  • Heap Sort
  • Bogo Sort
  • Merge Sort
  • Comb Sort
  • Shell Sort
  • Dumb Sort

About

Visualization of several sorting algorithms simultaneously C++ SFML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published