This project is an implementation of bubble sort algorithm in Ruby.
- Ruby
- Clone this repo on your local machine
- Run the command
bundle install
in your terminal - Insert the lines below any where in your index.rb file
x = [4, 3, 78, 2, 0, 2, 98, 6]
p bubble_sort(x)
p bubble_sort_by(%w[hi hello hey]) { |left, right| left.length - right.length }
To make this repository working in your local machine you need ruby installed.
๐ค Emmanuel Isabirye
- Github: @EmmanuelAaron
- Twitter: @EmmanuelAaron
- Linkedin: @EmmanuelAaron
๐ค Odufu James Chigozie
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
- Great Thanks to HADDADSOHAIB for the support given during the execution of this project
This project is MIT licensed.