Skip to content

Latest commit

History

History

BubbleSort

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

NPM release

BubbleSort with superpowers! 馃挭

Individual Module Installation

Yarn

$ yarn add @clarketm/superbubblesort

Npm

$ npm install @clarketm/superbubblesort --save

API

bubbleSort(arr: Array<Item>, comparator: Comparator): Array<Item>

Name Type Attribute Description
arr Array array to sort
comparator * nullable: undefined, optional: true, default: _defaultComparator