Skip to content
Typescript algorithms and Data Structures
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs [other] change lib for file copy Jan 14, 2020
helper [heap] implementation Jan 2, 2020
.codecov.yml Project setup Nov 30, 2019
.gitignore Add .gitignore Nov 30, 2019
.travis.yml Project setup Nov 30, 2019
CNAME Update #2 (badge and cname) Nov 30, 2019
LICENSE Initial commit Nov 30, 2019 [hash] fix links Jan 5, 2020
jest.config.js Project setup Nov 30, 2019
tsconfig.json [ga] add GA id Jan 5, 2020


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



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

Big O chart source:

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


You can’t perform that action at this time.