This project is about implementing the simple but slow bubble sorting algorithm.
It will compare numbers in an array and swap two adjacent number if the one on the left is bigger than the one on the right,until every number will be sorted in ascending order.
- Ruby 2.6.5
- Linted with Rubocop
- Love & Patience
Open bubble_sort.rb in repl.it and play with it
To get a local copy up and running follow these simple example steps.
Ruby 2.. or superior version installed and running
Clone the repo into your system
Give an array of numbers or strings and it will order them for you in ascending order using bubble sort algorithm
Just run the filename inside IRB or any terminal
👤 Illuminato Salvatore
- Github: @ioilmio
- Twitter: @ioilmio
- Linkedin: Illuminato Salvatore
👤 Guilherme Recordòn
- Github: @guirecordon
- Twitter: @RecordonG
- Linkedin: Guilherme Recordòn
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.