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

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