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

github.com/TheAlgorithms/JavaScript @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,039 symbols 2,306 edges 729 files 177 documented · 17% 2 cross-repo links updated 6mo ago★ 34,24122 open issues

Browse by type

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

The Algorithms - JavaScript

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

JavaScript Banner

Gitpod ready-to-code Checks codecov Contributions Welcome standard.js Discord chat


These implementations are for demonstrative 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.

You can find a list of the algorithms currently in the repository in the directory. Explanations of many of the algorithms can be found in the wiki.


Thanks to all the contributors ❤️

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 619
Method 306
Class 114

Languages

TypeScript100%

Modules by API surface

Data-Structures/Linked-List/SinglyLinkedList.js27 symbols
Cache/LFUCache.js24 symbols
Data-Structures/Linked-List/DoublyLinkedList.js22 symbols
Data-Structures/Tree/AVLTree.js21 symbols
Graphs/KruskalMST.js16 symbols
Data-Structures/Tree/BinarySearchTree.js16 symbols
Data-Structures/Linked-List/SinglyCircularLinkedList.js16 symbols
Conversions/TemperatureConversion.js16 symbols
Data-Structures/Vectors/Vector2.js14 symbols
Data-Structures/Heap/KeyPriorityQueue.js14 symbols
Data-Structures/Heap/BinaryHeap.js13 symbols
Cache/LRUCache.js13 symbols

Dependencies from manifests, versioned

@vitest/coverage-v81.2.1 · 1×
globby13.2.2 · 1×
husky8.0.3 · 1×
prettier3.0.3 · 1×
vitest1.2.1 · 1×

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page