Skip to content

abhayMore/BubbleSort-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BubbleSort-Visualization

Visualizing Bubble Sort algorithm using C++ and SFML

Summary

This is a visualization/simulation of Bubble Sorting algorithm.
Here every line represents a number in the array of Lines, with height being a random number.
Swapping occurs between two adjacent lines depending on the larger number( bigger line in terms of height)
This algorithm has worst case complexity of O(n^2), where n represents the number of elements(or Lines in terms of this project)

How to Run (only for Linux)

Install SFML
Install make (command : sudo apt install make )
Run command : make F1=main.cpp

Output

output

Releases

No releases published

Packages

No packages published