Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

PhillipUg/bubble-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Bubble Sort Algorithm

This is my implementation of the bubble sort algorithm

Contributors Forks Stargazers Issues


Logo

Bubble Sort

This project is part of the Microverse curriculum in Ruby module!
Explore the docs »

View Demo Report Bug Request Feature

Table of Contents

About The Project

Product Name Screen Shot

This is the first project of the Microverse Ruby Module

Testing

To test the code you need to give it some test cases like the ones below and execute it to see if it performs as expected:

bubble_sort_by(["burgers","hi","hello","hey"]) do |left, right|
  left.length - right.length
end

print bubble_sort([1, 3, 42, 54, 21, 221, 31, 2, 0])


Built With

This project was built using these technologies.

  • Ruby
  • Rubocop
  • VsCode

Live version

You can see it working here

Contributors

👤 Author

Acknowledgements

📝 License

This project is MIT licensed.

About

My implementation of the bubble sort algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages