MCPcopy Create free account
hub / github.com/TheAlgorithms/TypeScript

github.com/TheAlgorithms/TypeScript @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
342 symbols 707 edges 208 files 100 documented · 29% 2 cross-repo links updated 22mo ago★ 2,89924 open issues

Browse by type

Functions 286 Types & classes 56
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

The Algorithms - TypeScript

TypeScript Repository of TheAlgorithms, which implements various algorithms and data structures in TypeScript.

TypeScript Banner

codecov Contributions Welcome Discord chat Gitpod Ready-to-Code


These implementations are for demonstrative/educational purposes only. Dedicated implementations of these algorithms and data structures are much better for performance and security reasons. We also do not provide any guarantee for API stability.


Before contributing to this repository, make sure to read our Contribution Guidelines. You can look at other TheAlgorithms Repositories or the issues with a "help wanted" label for inspiration regarding what to implement. Our maintainers will guide you through how to make your contribution properly if you make any mistakes. The names of the maintainers of this repository are listed in the CODEOWNERS file.


Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 150
Method 136
Class 48
Interface 7
Enum 1

Languages

TypeScript100%

Modules by API surface

data_structures/heap/heap.ts28 symbols
data_structures/map/hash_map.ts18 symbols
data_structures/list/singly_linked_list.ts17 symbols
data_structures/list/doubly_linked_list.ts17 symbols
data_structures/tree/binary_search_tree.ts15 symbols
data_structures/list/linked_list.ts12 symbols
data_structures/map/map.ts10 symbols
data_structures/tries/tries.ts8 symbols
data_structures/stack/stack.ts8 symbols
data_structures/stack/linked_list_stack.ts8 symbols
data_structures/set/map_set.ts8 symbols
data_structures/queue/stack_queue.ts8 symbols

Dependencies from manifests, versioned

@types/jest29.0.3 · 1×
husky8.0.1 · 1×
jest29.0.3 · 1×
prettier3.2.5 · 1×
ts-jest29.0.2 · 1×
ts-node10.9.1 · 1×

For agents

$ claude mcp add TypeScript \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page