@bemoje/arr-quick-sort-numeric

1.0.1 • Public • Published

@bemoje/arr-quick-sort-numeric

Efficient in-place recursive sorting algorithm of numeric values. Avg. Runtime: O(n log n) | Worst: O(n^2)

Version

NPM version

Travis CI

dependencies

Dependencies

dependencies

Stats

NPM downloads Forks

Donate

Buy Me A Beer donate button PayPal donate button

Installation

npm install @bemoje/arr-quick-sort-numeric
npm install --save @bemoje/arr-quick-sort-numeric
npm install --save-dev @bemoje/arr-quick-sort-numeric

Usage

import arrQuickSortNumeric from '@bemoje/arr-quick-sort-numeric'

arrQuickSortNumeric([5, 2, 3, 1, 4])
//=> [1, 2, 3, 4, 5]

Tests

Uses Jest to test module functionality. Run tests to get coverage details.

npm run test

API

arrQuickSortNumeric

Efficient in-place recursive sorting algorithm of numeric values. Avg. Runtime: O(n log n) | Worst: O(n^2)

Parameters
Returns

Array

Package Sidebar

Install

npm i @bemoje/arr-quick-sort-numeric

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

8.96 kB

Total Files

5

Last publish

Collaborators

  • bemoje