MCPcopy
hub / github.com/TheAlgorithms/JavaScript

github.com/TheAlgorithms/JavaScript @main sqlite

repository ↗ · DeepWiki ↗
1,039 symbols 2,306 edges 729 files 177 documented · 17%
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

push
called by 160
Data-Structures/Stack/Stack.js
addLast
called by 63
Data-Structures/Linked-List/SinglyLinkedList.js
get
called by 56
Cache/LRUCache.js
get
called by 53
Data-Structures/Linked-List/SinglyLinkedList.js
add
called by 50
Data-Structures/Linked-List/SinglyCircularLinkedList.js
push
called by 46
Data-Structures/Heap/KeyPriorityQueue.js
toString
called by 37
Cache/LRUCache.js
set
called by 30
Cache/LRUCache.js

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