In this project, we wrote two bubble sort algorithms. The first method sort an array of integers in ascending order. The second method sorts an array of strings in ascending order based on the length of the characters in each array item.
- Ruby
To get a local copy of this project, clone this repo
- cd bubble_sort
- In your Terminal, Run ruby bubble_sort.rb
- you can change the values in the arrays to your custom values and test again
👤 Martin Njoroge
- Github: @kwizl
- Twitter: @NjoroKaris
- Linkedin: martin njoroge
👤 Alfred Ezaka
- Github: @codecell
- Twitter: @the_codecell
- Linkedin: ezaka alfred
Give a ⭐️ if you like this project!