Visualizing Bubble Sort algorithm using C++ and SFML
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)
Install SFML
Install make (command : sudo apt install make
)
Run command : make F1=main.cpp