Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 845 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 845 Bytes

Bubble Sorting Algorithm

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.

Implementation

The algorithm is very simple, we repeatedly swap the adjacent elements if they are in the wrong order.

Image

63668342-6c5ff680-c809-11e9-80f6-fa7e80959dec

Pre-requisites

  1. Ruby installed version
  2. Code Editor of your taste (VS Code recommended)
  3. Rubocop Gem installed [gem install rubocop]

How to contribute and partipate

Fork this repo and submit a PR for review and potential merge to main branch

Engineers

  1. Edem Agbenyo
  2. John Kilonzi