1.0.7 • Published 6 years ago
sized-balanced-tree v1.0.7
Sized-Balanced-Tree
Sized Balanced Tree implementation in JavaScript
| Operation | Average | Worst |
|---|---|---|
| Add | O(log n) | O(log n) |
| Remove | O(log n) | O(log n) |
| Find | O(log n) | O(log n) |
| Find minimum | O( log n) | O(log n) |
| Find maximum | O(log n) | O(log n) |
| Nth element | O(log n) | O(log n) |
Install package
npm install sized-balanced-tree Install devependecies and build library
Install dependencies
npm installRun and test in devloper environment
npm run run-devBuild non-minified version of the library
npm run build-devBuild library and use in production
npm run build-prodYou will find the library in
distfolderUpdate or generate api doc
npm run generate-docDo benchmark
npm run benchmarkRun tests
npm run test