Bubble Sort - Ruby
The project consists of implementing a simple bubble sort algorithm in Ruby.
https://www.theodinproject.com/courses/ruby-programming/lessons/advanced-building-blocks
ruby buble_sort.rb
Add the following at the end of its respective function
print bubble_sort([4,3,78,2,0,2])
print (bubble_sort_by(%w[hi hello hey]) do |left, right|
left.length - right.length
end )
This project is licensed under the MIT License - see the LICENSE.md file for details.