Skip to content

TheLarkInn/max-heapsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

max-heapsort

Commitizen Friendly

max-heapsort

Develop

To develop locally, simply clone this repo and install dependencies with yarn:

Install yarn first

npm install -g yarn

Usage

Install with npm

npm install max-heapsort

Install with yarn

yarn add max-heapsort
import MaxHeap from 'max-heapsort';

let array = [9,4,7,2,6,1,3];
let sorted = new MaxHeap(array).sort();

//>? returns [9,7,6,4,3,2,1];

Install deps with yarn

yarn

Author

Sean Larkin sean.larkin@mutualofomaha.com (@TheLarkInn)

License

Contributing

Contributions are highly welcome! This repo is commitizen friendly — please read about it here.

About

A small POC for using heap, and heapsort.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published