Skip to content

Method to sort integers or strings using Ruby, focused to work with yields. The method is also known as Bubble Sort

Notifications You must be signed in to change notification settings

kensayo/Bubble-Sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bubble Sort

This project offers one way of sorting a group of items in an array, where each element is compared to the one next to it and they are swapped if the one on the left is larger than the one on the right. This continues until the array is eventually sorted.

Built with

  • Ruby

Prerequisites

  • Web browser
  • IDE
  • Ruby

Setup

  • Download/Clone the repository files and navigate to root folder
  • Run ruby main.rb from command line
  • Watch results
  • You can modify the source code to sort any array of strings or integers

Install

  • Follow these steps in order to install ruby

Deployment

  • You can deploy this project by cloning it then:

  • Go to the repository's settings.

  • Navigate to the GitHub Pages section.

  • Select the appropriate branch.

Live version

Live version here

Authors

👤 Kenny Ortega

👤 Mario Alberto Rodriguez Cota

🤝 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

About

Method to sort integers or strings using Ruby, focused to work with yields. The method is also known as Bubble Sort

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages