/typescript-algorithms

🔖 Algorithms and data structures implemented in TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

TypeScript Algorithms and Data structures

CI

🔖 Algorithms and data structures implemented in TypeScript.

Data structures

A data structure is a data organization, management, and storage format that enables efficient access and modification. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.

  • Queue - a data structure to follow the FIFO principle;
  • Graph - a set of vertices and edges;
  • Stack - a data structure to follow the LIFO principle;
  • Linked list - a data structure to follow the FIFO principle;
  • Vector - is used to represent the mathematical vector used in linear algebra;
  • Hash table - is used for lookup, where keys are hashed;

Algorithms

An algorithm is a finite sequence of well-defined, computer-implementable instructions, typically to solve a class of problems or to perform a computation.

Algorithms by Topic

How to use this repository

Install all dependencies

npm install

Run all tests

npm test