Skip to content

chausme/simple-bubble-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Bubble Sort

npm

Simple bubble sort algorithm implementation

Install

npm install simple-bubble-sort
yarn add simple-bubble-sort

Usage

import bubbleSort from 'simple-bubble-sort';
const sorted = bubbleSort([10, 2, 5, 99, 7, 0]); // [0, 2, 5, 7, 10, 99]

Releases

No releases published