# TheAlgorithms/TypeScript

Algorithms and Data Structures implemented in TypeScript for beginners, following best practices.

Repository: https://github.com/TheAlgorithms/TypeScript
Canonical: https://ross.abutalabs.com/products/thealgorithms-typescript
Homepage: https://the-algorithms.com/language/typescript
Language: TypeScript
License: MIT
License Family: permissive
Topics: algorithms, data-structures, hacktoberfest, typescript
Last push: 2024-10-16T18:21:48+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1460, "days_push": 686, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2897, forks 577 (observed 2026-08-28T04:07:28.754041+00:00)

## What it is
A collection of algorithms and data structures implemented in TypeScript for educational purposes, part of TheAlgorithms project. It is intended for learning and demonstration, not for production use.

## Use cases
- learn algorithms in typescript
- study data structures with example code
- prepare for coding interviews
- understand how sorting and searching algorithms work
- find reference implementations of classic algorithms
- teach computer science fundamentals

## When to choose
- you are learning algorithms and want readable TypeScript examples
- you want to study data structure implementations alongside tests
- you are a beginner contributing to open source

## When to avoid
- you need performant, production-ready algorithm implementations
- you require API stability guarantees
- you need a maintained algorithm library as a dependency

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools
- domain: education, programming-languages
- platform: cross-platform
- tags: algorithms, data-structures, typescript, educational, computer-science, nodejs

## Member repositories
- TheAlgorithms/TypeScript (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.754041+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:13.708282+00:00, confidence not recorded.
  - readme: https://github.com/TheAlgorithms/TypeScript (fetched 2026-08-28T04:07:28.754041+00:00, sha 950bc1f72d00)
- Data as of 2026-08-30T08:39:29.467469+00:00.
