mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-04 15:39:42 +08:00

* Add Tug of War solution using backtracking * Updated Documentation in README.md * Added Tug of war problem link * Updated Documentation in README.md * Updated Documentation in README.md * Refactor tugOfWar: remove unused vars, optimize initialization, and remove redundant checks * Added Function Export Statment * Updated Documentation in README.md * Resolved Code Style --Prettier * Rename "backtrack" to "recurse" * Fix test case: The difference needs to be exactly 1. * Code Modification: subsets should have sizes as close to n/2 as possible * Updated test-case of TugOfWar * Changed TugOfWar problem to Partition * Modified partition problem * Updated Documentation in README.md * fixed code style --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
The Algorithms - JavaScript
JavaScript Repository of TheAlgorithms, which implements various algorithms and data structures in JavaScript.
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 ❤️
Description
Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
algorithmalgorithm-challengesalgorithmsalgorithms-implementedcipherconversionscryptographydata-structureshacktoberfestjavascriptmathematicssearchsortsorting-algorithms
Readme
GPL-3.0
142 MiB
Languages
JavaScript
100%