TheAlgorithms/JavaScript

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

34,244

stars

1,501

commits

JavaScript

primary language

Mar 7, 2026

updated

the-algorithms.com/language/javascript
algorithm
algorithm-challenges
algorithms
algorithms-implemented
cipher
conversions
cryptography
data-structures
hacktoberfest
javascript
mathematics
search
sort
sorting-algorithms
Browse cluster: Algorithm and Data Structure Interview Prep

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 ❤️

Contributors

(top 30 of 308)

raklaptudirm

160 commits

pomkarnath98

78 commits

cclauss

67 commits

itsvinayak

62 commits

TheAlgorithms/JavaScript

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

34,244

stars

1,501

commits

JavaScript

primary language

Mar 7, 2026

updated

the-algorithms.com/language/javascript
algorithm
algorithm-challenges
algorithms
algorithms-implemented
cipher
conversions
cryptography
data-structures
hacktoberfest
javascript
mathematics
search
sort
sorting-algorithms
Browse cluster: Algorithm and Data Structure Interview Prep

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 ❤️

Contributors

(top 30 of 308)

raklaptudirm

160 commits

pomkarnath98

78 commits

cclauss

67 commits

itsvinayak

62 commits

Languages

JavaScript

100.0%