动态规划(Dynamic Programming)、位操作(Bit Manipulation)、回溯(Backtracking)算法等C++版算法实现。涵盖了计算机科学、数学和统计、数据科学、机器学习、工程等领域的各种主题。

Hridyanshu 55ff0ade85 docs: fixed misleading comment about the array method (forEach instead of reduce) used in AverageMean.js (#1727) 5 days ago
.github 9010481c29 chore: update `codecov-action` to `v4` (#1605) 4 months ago
.husky d8cfdcd800 chore: use `check-style` in (#1630) 7 months ago
Backtracking 79b93d35b6 style: remove redundant eslint suppressions (#1667) 4 months ago
Bit-Manipulation d671327ebe feat: added find subsets algorithm using bitmanipulation (#1514) 1 year ago
Cache 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 1 year ago
Cellular-Automata 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 1 year ago
Ciphers d7dc85232c feat: Key finder improvement (#1456) 1 year ago
Compression 5f8d4d447a [Compressor] RLE Compressor implementation (#1671) 4 months ago
Conversions 3623e4270f tests: add `HexToDecimal.test.js` (#1662) 5 months ago
Data-Structures 0182bcacd0 style: remove `listIn` and `listOut` (#1669) 4 months ago
Dynamic-Programming 1554ba5f9c test: add tests for `NumberOfSubsetEqualToGivenSum` (#1661) 5 months ago
Geometry 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 1 year ago
Graphs 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 1 year ago
Hashes f31349812c tests: add tests for `SHA256` (#1604) 8 months ago
Maths 55ff0ade85 docs: fixed misleading comment about the array method (forEach instead of reduce) used in AverageMean.js (#1727) 5 days ago
Navigation 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 1 year ago
Project-Euler ff314a2bed Add tests for Project Euler Problem 5 + minor refactor (#1691) 1 week ago
Recursive 79b93d35b6 style: remove redundant eslint suppressions (#1667) 4 months ago
Search d74f242ac4 Rabin Karp Search Algorithm (#1545) 11 months ago
Sorts 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 1 year ago
String a5945e37c2 fix: throw error instead of returning it (#1624) 7 months ago
Timing-Functions 9c622dd089 refactor: add and use `parseDate` (#1643) 6 months ago
Trees d02e402972 removed code already present in test cases related to DFT in Trees folder (#1648) 6 months ago
.gitignore 1d63400867 chore: add `UploadCoverageReport.yml` (#1599) 8 months ago
.gitpod.yml ff606a019e chore: improve the Gitpod file (#1203) 2 years ago
.prettierignore 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 1 year ago
.prettierrc e112434dee Add tests to Math (#423) 4 years ago
CONTRIBUTING.md a044c57401 docs: Update script usage in CONTRIBUTING.md (#1587) 11 months ago
DIRECTORY.md ff314a2bed Add tests for Project Euler Problem 5 + minor refactor (#1691) 1 week ago
LICENSE 386c646ac5 Initial commit 7 years ago
README.md cf0004190a docs: add codecov badge (#1600) 8 months ago
package-lock.json 18da83a5b7 chore(deps): bump vite from 5.0.12 to 5.4.8 (#1711) 2 weeks ago
package.json 1d63400867 chore: add `UploadCoverageReport.yml` (#1599) 8 months ago
vitest.config.ts 1d63400867 chore: add `UploadCoverageReport.yml` (#1599) 8 months ago

README.md

The Algorithms - JavaScript

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

[![JavaScript Banner][banner]](DIRECTORY.md) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/TheAlgorithms/JavaScript) [![Checks][checks]][actions] [![codecov](https://codecov.io/gh/TheAlgorithms/JavaScript/graph/badge.svg?token=8VeZwL31KZ)](https://codecov.io/gh/TheAlgorithms/JavaScript) [![Contributions Welcome][welcome]](CONTRIBUTING.md) [![standard.js][standard-logo]][standard-js] [![Discord chat][chat]][discord-server]

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