/Bubble_sort-Algorithm

A method #bubble_sort that takes an array and returns a sorted array. It uses the bubble sort methodology

Primary LanguageRuby

Bubble_sort_algorithm

This is a manually built bubble sort algorithm that compares consecutive items in an array in Ruby, bubble_sort that takes an array and returns a sorted array. Bubble_sort is for integer arrays and bubble_sort_by is for string arrays.

Built With

  • Ruby

Getting Started

  • Clone the repo to your local machine, and install Ruby

Prerequisites

  • Ruby

Author

👤 Rahma Halane

👤 Phylis Chepchumba

🤝 Contributing

Start by:

  • Fork/Clone the project to your local machine
  • cd into the project directory
  • Run git checkout -b your-branch-name
  • Make your contributions
  • Push your branch up to your forked repository
  • Open a Pull Request with a detailed description to the development branch of the original project for a review

Feel free to also check the issues page.

Show your support

Give a ⭐️ if you like this project!!

Acknowledgments

  • Microverse
  • The Odin Project