Skip to content

Created Ruby methods to sort an array in ascending order using Bubble Sort algorithm

Notifications You must be signed in to change notification settings

anewman15/bubble-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bubble Sort using Ruby

In this small project, we created two methods to sort an array in ascending order using the Bubble Sort algorithm. The user can enter an array of numbers and the program will return a sorted array in ascending order. The user will also an array of strings and it will return the array sorted according to the increasing length of the strings.

screenshot

Built With

  • Ruby

Deployment

This project can be deployed on any Ruby IDE or code editor by simply cloning or download the repository from github, which is available on this active link

  • After cloning it.
  • Run the file by typing "ruby bubble_sort.rb" in your terminal and follows the pop up questions.

Live Demo

Repl.it Demo Link Cick the "run" button

Authors

👤 Abdullah Numan

👤 Arafat Akata

🤝 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

Created Ruby methods to sort an array in ascending order using Bubble Sort algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages