An open API service indexing awesome lists of open source software.

https://github.com/jonathanyiv/bubble_sort

Implementation of Bubble Sort in Ruby
https://github.com/jonathanyiv/bubble_sort

bubble-sort ruby

Last synced: 17 days ago
JSON representation

Implementation of Bubble Sort in Ruby

Awesome Lists containing this project

README

          

# Bubble Sort Project

This is my version of implementing the [bubble sort](https://en.wikipedia.org/wiki/Bubble_sort).

This is a project from [The Odin Project](https://www.theodinproject.com/courses/ruby-programming/lessons/advanced-building-blocks).

![Bubble Sort GIF](/Bubble-sort-example-300px.gif)

## Installation

Open your Terminal/Command Line. Navigate to the directory where your version will live. Type in the following:

```
$ git clone https://github.com/JonathanYiv/bubble_sort.git
$ cd bubble_sort
$ ruby bubble_sort.rb
```

## Pre-Project Thoughts

No particular thoughts.

## Post-Project Thoughts
At some point, I will read about all the different type of sorting methodologies and their efficiency levels.
Apparently bubble sort is one of the least efficient, except in the case of a short nearly sorted group.