Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmanuelaaron/bubble_sort
Bubble sort implementation in ruby
https://github.com/emmanuelaaron/bubble_sort
Last synced: 22 days ago
JSON representation
Bubble sort implementation in ruby
- Host: GitHub
- URL: https://github.com/emmanuelaaron/bubble_sort
- Owner: Emmanuelaaron
- Created: 2020-04-29T16:33:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-01T18:17:06.000Z (over 4 years ago)
- Last Synced: 2024-11-20T18:34:05.385Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bubble_sort
> This project is an implementation of bubble sort algorithm in Ruby.## Built With
- Ruby
## Getting Started
- 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 }```
### Prerequisites
To make this repository working in your local machine you need [ruby](https://rubyinstaller.org/) installed.## Authors
👤 **Emmanuel Isabirye**
- Github: [@EmmanuelAaron](https://github.com/Emmanuelaaron)
- Twitter: [@EmmanuelAaron](https://twitter.com/EmmanuelIsabir1)
- Linkedin: [@EmmanuelAaron](https://www.linkedin.com/in/fullstackwebdev-emma/)👤 **Odufu James Chigozie**
- Github: [@Jamezjaz](https://github.com/jamezjaz)
- Twitter: [@Jamezjaz](https://twitter.com/jamezjaz90)
- Linkedin: [@Jamezjaz](https://linkedin.com/in/james-odufu-ba2a4a125)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Emmanuelaaron/bubble_sort/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Great Thanks to [HADDADSOHAIB](https://github.com/HADDADSOHAIB) for the support given during the execution of this project
## 📝 License
This project is [MIT](lic.url) licensed.