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

https://github.com/dansantander/bubble-sort

This project consist in creating a bubble sort method from scratch with Ruby
https://github.com/dansantander/bubble-sort

Last synced: 3 months ago
JSON representation

This project consist in creating a bubble sort method from scratch with Ruby

Awesome Lists containing this project

README

        

# bubble-sort
This project consist in creating a bubble sort method from scratch with Ruby

Project: Advanced building blocks

[![Contributors][contributors-shield]][contributors-url]





Bubble Sort


Building a method from scratch through the "Bubble sort"


Explore the docs »




·
Report Bug
·
Request Feature

## Table of Contents

* [About the Project](#about-the-project)
* [Built With](#built-with)
* [License](#license)
* [Contact](#contact)

## About The Project

Built for Microverse following these requirements:
#### requirement 1
- [x] Build a method #bubble_sort that takes an array and returns a sorted array
- [x] Use the sorting algorithm that compares each instance of the array to the next one and switches them accordingly

#### requirement 2
- [x] Build a method #bubble_sort_by that sorts an array by accepting a block in the argument
- [x] The method uses yield to execute the provided block and returns the array sorted

and following this lesson :
https://www.theodinproject.com/courses/ruby-programming/lessons/advanced-building-blocks

## Built With
* Ruby

## License

Distributed under the MIT License. See `LICENSE` for more information.

## Contact

Rodolfo Rodriguez Mata - [Github profile](https://github.com/RodolfoRodriguezMata)
Daniel Santander - [Github profile](https://github.com/danSantander)

Project Link: [https://github.com/dansantander/bubble-sort](https://github.com/dansantander/bubble-sort)

[contributors-shield]: https://img.shields.io/github/contributors/othneildrew/Best-README-Template.svg?style=flat-square
[contributors-url]: https://github.com/dansantander/bubble-sort/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/othneildrew/Best-README-Template.svg?style=flat-square
[forks-url]: https://github.com/othneildrew/Best-README-Template/network/members
[stars-shield]: https://img.shields.io/github/stars/othneildrew/Best-README-Template.svg?style=flat-square
[stars-url]: https://github.com/othneildrew/Best-README-Template/stargazers
[issues-shield]: https://img.shields.io/github/issues/othneildrew/Best-README-Template.svg?style=flat-square
[issues-url]: https://github.com/othneildrew/Best-README-Template/issues
[license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=flat-square
[license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/othneildrew
[product-screenshot]: images/screenshot.png