Skip to content

ioilmio/bubble_sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bubble Sort Algorithm

This project is about implementing the simple but slow bubble sorting algorithm.

It will compare numbers in an array and swap two adjacent number if the one on the left is bigger than the one on the right,until every number will be sorted in ascending order.

Built With

  • Ruby 2.6.5
  • Linted with Rubocop
  • Love & Patience

Live Demo

Live Demo Link

Open bubble_sort.rb in repl.it and play with it Run on Repl.it

Run on Repl.it

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Ruby 2.. or superior version installed and running

Setup

Clone the repo into your system

Usage

Give an array of numbers or strings and it will order them for you in ascending order using bubble sort algorithm

Just run the filename inside IRB or any terminal

Authors

👤 Illuminato Salvatore

👤 Guilherme Recordòn

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.

About

bubble_sort

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages