Skip to content

This repository is a collection of TypeScript algorithms and data structures.

License

Notifications You must be signed in to change notification settings

behzadam/algorithms

Repository files navigation

TypeScript Algorithms and Data Structures

This repository is a collection of TypeScript algorithms and data structures. It is intended for educational purposes and serves as a reference for developers who want to learn and practice TypeScript.

GitHub top language Codacy Badge Lines of code

Introduction

It includes code and patterns from the "JavaScript Algorithms" repository, translated from JavaScript to TypeScript. JavaScript Algorithms

Data structure

Algorithms

Search

Sort

Utils

Please note that the repository is still a work in progress, and new algorithms and patterns will be added over time.

Getting Started

To get started with the repository, follow these simple steps:

Clone the repository to your local machine using the command:

git clone https://github.com/behzadam/algorithms.git

Install the required dependencies by running the following command:

pnpm install

Run all tests

pnpm test

Format checking

pnpm format:check

Format fixing

pnpm format:fix

Run ESLint

pnpm lint

License

The "TypeScript Algorithms, Data Structures and Patterns" repository is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.

Contact

If you have any questions or suggestions regarding the repository, please feel free to contact me.