Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.