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.
- Ruby
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.
Repl.it Demo Link Cick the "run" button
👤 Abdullah Numan
- Github: @anewman15
- Twitter: @aanuman15
- Linkedin: aanuman15
👤 Arafat Akata
- Github: @haraphat01
- Twitter: @haraphat01
- Linkedin: arafat-akata
Contributions, issues and feature requests are welcome! Feel free to check the issues page.
Give a ⭐️ if you like this project!