This project is an implementation of bubble sort and block yielding.There are two methods in the body of the code.The Bubble_sort method implements the bubble sort algorithm in Ruby whilst the bubble_sort_by implement the a bubble sort algorithm and also take a block by yielding.
The project is part of a series of projects to be completed by students of Microverse.
- Ruby
Clone the repository to your local machine
$ git clone https://github.com/addod19/bubble_sorting_algorithm.git
cd into the directory
$ cd bubble_sorting_algorithm
Open bubble_sort_by_arr.rb with your favourite text editor
This project is actually built on two development branches bubble_sort_branch and bubble_sort_by_branch
The demo page can be found HERE
This is a collaborative project by : Daniel Larbi Addo and Maya Alla Eldin
- Fork it (https://github.com/addod19/bubble_sorting_algorithm/fork)
- Create your feature branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -am 'what this commit will fix/add')
- Push to the branch (git push origin feature/[chosen-name])
- Create a new Pull Request