This repository was archived by the owner on Jan 24, 2021. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork11
An implementation of Quicksort in JavaScript/TypeScript.
License
NotificationsYou must be signed in to change notification settings
CharlesStover/quicksort-js
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
An implementation of Quicksort in JavaScript.
A walkthrough of the logic behind Quicksort and development of this package can be found on the Medium articleImplementing Quicksort in JavaScript.
npm install @charlesstover/quicksort --saveoryarn add @charlesstover/quicksort
importquickSortfrom'@charlesstover/quicksort';import{expect}from'chai';describe('Quicksort',()=>{it('should sort an array',()=>{constunsorted=[5,4,1,3,2];constsorted=quickSort(unsorted);expect(sorted).to.deep.equal([1,2,3,4,5]);});});
About
An implementation of Quicksort in JavaScript/TypeScript.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.