@pencroff/ts-algorithms
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

ts-algorithms

Typescript algorithms and Data Structures

Build Status codecov

Get started

npm i @pencroff/ts-algorithms --save

The package doesn't provide any common exports. All required imports should be per item. For example:

import { genericComparator } from '@pencroff/ts-algorithms/dist/primitive/comparator'

const res = genericComparator('A', 'B'); // returns -1, check primitives for details

Algorithms

Theory

Big O notation is used in computer science to describe the performance or complexity of an algorithm.

Big O chart source: www.bigocheatsheet.com

Big O can be used for measuring time complexity or space / memory complexity.

References:

Readme

Keywords

Package Sidebar

Install

npm i @pencroff/ts-algorithms

Weekly Downloads

1

Version

0.0.13

License

MIT

Unpacked Size

134 kB

Total Files

72

Last publish

Collaborators

  • pencroff