Bubble Sort is the algorithm to sort elements in an array by ascending or descending. The algorithm will partition the array into a sorted partition and unsorted partition.
The algorithm is very simple, we repeatedly swap the adjacent elements if they are in the wrong order.
- Ruby installed version
- Code Editor of your taste (VS Code recommended)
- Rubocop Gem installed [gem install rubocop]
Fork this repo and submit a PR for review and potential merge to main branch