c-sort

1.0.4 • Public • Published

c-sort : simple and fast counting-sort

All process have a avg of 0~1 mileseconds!!!

Using a array of 3.000 itens all process have a avg 3 mileseconds !!!

I will help if you have any difficulty =)

Contact me by github:heyderpd. I'll be glad to help you.

Thanks for npm~lucasmreis

npm install --save c-sort

Example:

const countingSort = require('c-sort')
 
const array = [5, 6, 2, 8, 4, 9, 3, 7, 1, 0]
 
countingSort(array) // [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

/c-sort/

    Package Sidebar

    Install

    npm i c-sort

    Weekly Downloads

    3

    Version

    1.0.4

    License

    MIT

    Last publish

    Collaborators

    • heyderpd