Bubble sorting algorithm programmed in Ruby
- About Project
- Get Started
- Contributors
This project is aimed at creating a Bubble sorting algorithm which includes optimization to allow a faster run-time
-
Download the algorithm by cloning the repo to your computer
git clone https://github.com/mrnadaara/Bubble-Sort.git
-
Then pass any argument you wish to the 'bubble_sort' method
bubble_sort([array])
-
Alternatively you could use the 'bubble_sort_by' method for a more defined approach
-
Run the file in the terminal
ruby bubble_sort.rb
Sharmarke Ahmed (@mrnadaara) Ramesh Naidu Allu (@rna)