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

Piotr Idzik 9010481c29 chore: update `codecov-action` to `v4` (#1605) 3 weeks ago
.github 9010481c29 chore: update `codecov-action` to `v4` (#1605) 3 weeks ago
.husky d8cfdcd800 chore: use `check-style` in (#1630) 4 months ago
Backtracking 79b93d35b6 style: remove redundant eslint suppressions (#1667) 1 month ago
Bit-Manipulation d671327ebe feat: added find subsets algorithm using bitmanipulation (#1514) 8 months ago
Cache 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 9 months ago
Cellular-Automata 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 9 months ago
Ciphers d7dc85232c feat: Key finder improvement (#1456) 9 months ago
Compression 5f8d4d447a [Compressor] RLE Compressor implementation (#1671) 3 weeks ago
Conversions 3623e4270f tests: add `HexToDecimal.test.js` (#1662) 1 month ago
Data-Structures 0182bcacd0 style: remove `listIn` and `listOut` (#1669) 1 month ago
Dynamic-Programming 1554ba5f9c test: add tests for `NumberOfSubsetEqualToGivenSum` (#1661) 1 month ago
Geometry 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 9 months ago
Graphs 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 9 months ago
Hashes f31349812c tests: add tests for `SHA256` (#1604) 5 months ago
Maths 79b93d35b6 style: remove redundant eslint suppressions (#1667) 1 month ago
Navigation 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 9 months ago
Project-Euler 584424241c [Solution] Project euler challenge 19 with tests (#1659) 1 month ago
Recursive 79b93d35b6 style: remove redundant eslint suppressions (#1667) 1 month ago
Search d74f242ac4 Rabin Karp Search Algorithm (#1545) 8 months ago
Sorts 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 9 months ago
String a5945e37c2 fix: throw error instead of returning it (#1624) 4 months ago
Timing-Functions 9c622dd089 refactor: add and use `parseDate` (#1643) 3 months ago
Trees d02e402972 removed code already present in test cases related to DFT in Trees folder (#1648) 3 months ago
.gitignore 1d63400867 chore: add `UploadCoverageReport.yml` (#1599) 5 months ago
.gitpod.yml ff606a019e chore: improve the Gitpod file (#1203) 1 year ago
.prettierignore 86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407) 9 months ago
.prettierrc e112434dee Add tests to Math (#423) 3 years ago
CONTRIBUTING.md a044c57401 docs: Update script usage in CONTRIBUTING.md (#1587) 8 months ago
DIRECTORY.md 6bb02af09b Updated Documentation in README.md 2 months ago
LICENSE 386c646ac5 Initial commit 7 years ago
README.md cf0004190a docs: add codecov badge (#1600) 5 months ago
package-lock.json 8ceaa252b9 chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#1670) 3 weeks ago
package.json 1d63400867 chore: add `UploadCoverageReport.yml` (#1599) 5 months ago
vitest.config.ts 1d63400867 chore: add `UploadCoverageReport.yml` (#1599) 5 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 ❤️