https://github.com/nejcm/js-algorithms
JavaScript implementation and examples of many popular algorithms, data structures and other programming problems.
https://github.com/nejcm/js-algorithms
algorithms data-structures javascript javascript-algorithms js programming-problems
Last synced: about 2 months ago
JSON representation
JavaScript implementation and examples of many popular algorithms, data structures and other programming problems.
- Host: GitHub
- URL: https://github.com/nejcm/js-algorithms
- Owner: nejcm
- License: mit
- Created: 2020-06-14T17:17:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-06-27T10:14:07.000Z (4 months ago)
- Last Synced: 2025-06-27T11:29:08.065Z (4 months ago)
- Topics: algorithms, data-structures, javascript, javascript-algorithms, js, programming-problems
- Language: TypeScript
- Homepage: https://nejcm.github.io/js-algorithms/
- Size: 24.6 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎓 Js algorithms
Algorithms, data structures and other programming challenges and problems implemented in JavaScript with documentation.Big thank you goes to
[javascript-algorithms](https://github.com/trekhleb/javascript-algorithms).
⚠️ This package is still under development! New algorithms are being added and existing
ones refactored to improve code quality.
[![Build Status][build-badge]][build]
[![Code Coverage][coverage-badge]][coverage]
[![JavaScript Style Guide][style-guide-badge]][style-guide]
[](#contributors)
[![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc]
[![Watch on GitHub][github-watch-badge]][github-watch]
[![Star on GitHub][github-star-badge]][github-star]## Table of Contents
- [Installation](#installation)
- [Documentation](#documentation)
- [Development](#development)
- [Issues](#issues)
- [🐛 Bugs](#-bugs)
- [💡 Feature Requests](#-feature-requests)
- [❓ Questions](#-questions)
- [Authors](#authors)
- [Contributors](#contributors)
- [Support](#support)
- [LICENSE](#license)## Installation
```shell
# Clone repo
$ git clone https://github.com/nejcm/js-algorithms.git my-project# Install dependencies
$ yarn install# Start development server
$ yarn start
```## Documentation
The documentation is built with Docusaurus and includes:
- Detailed explanations of algorithms and data structures
- Code examples and implementations
- Interactive examples
- Search functionalityVisit the [documentation website][docs-link] to learn more.
## Development
```shell
# Run tests
$ yarn test# Run tests with coverage
$ yarn test:cov# Build documentation
$ yarn build# Serve built documentation
$ yarn serve
```## Issues
_Looking to contribute? Look for the [Good First Issue][good-first-issue] label._
### 🐛 Bugs
Please file an issue for bugs, missing documentation, or unexpected behavior.
[**See Bugs**][bugs]
### 💡 Feature Requests
Please file an issue to suggest new features. Vote on feature requests by adding a 👍.
This helps maintainers prioritize what to work on.[**See Feature Requests**][requests]
### ❓ Questions
For questions related to using the library, please visit a support community instead of
filing an issue on GitHub.## Authors
- Nejc M. ( [GitHub][github], [LinkedIn][linkedin] )
## Contributors
This project follows the [all-contributors][all-contributors] specification. Contributions
of any kind welcome!## Support
Reach out to us at one of the following places:
- [🌐 Website][website]
- [📧 Email][email]## LICENSE
[MIT](LICENSE)
[all-contributors]: https://github.com/all-contributors/all-contributors
[bugs]: https://github.com/nejcm/js-algorithms/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc
[build-badge]: https://img.shields.io/github/actions/workflow/status/nejcm/js-algorithms/ci.yml?branch=master
[build]: https://github.com/nejcm/js-algorithms/actions
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg
[coc]: https://github.com/nejcm/js-algorithms/blob/master/CODE_OF_CONDUCT.md
[coverage-badge]: https://img.shields.io/codecov/c/github/nejcm/js-algorithms.svg
[coverage]: https://codecov.io/github/nejcm/js-algorithms
[docs-link]: https://nejcm.github.io/js-algorithms/
[email]: nmursi2@gmail.com
[emojis]: https://github.com/all-contributors/all-contributors#emoji-key
[github]: https://github.com/nejcm
[github-star-badge]: https://img.shields.io/github/stars/nejcm/js-algorithms.svg?style=social
[github-star]: https://github.com/nejcm/js-algorithms/stargazers
[github-watch-badge]: https://img.shields.io/github/watchers/nejcm/js-algorithms.svg?style=social
[github-watch]: https://github.com/nejcm/js-algorithms/watchers
[good-first-issue]: https://github.com/nejcm/js-algorithms/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A"good+first+issue"+
[license-badge]: https://img.shields.io/npm/l/@nejcm/js-algorithms.svg
[license]: https://github.com/nejcm/js-algorithms/blob/master/LICENSE
[linkedin]: https://www.linkedin.com/in/nejcm/
[node]: https://nodejs.org
[npm]: https://www.npmjs.com/
[npm-badge]: https://img.shields.io/npm/v/@nejcm/js-algorithms.svg
[npm-link]: https://www.npmjs.com/package/@nejcm/js-algorithms
[npmtrends]: http://www.npmtrends.com/@nejcm/js-algorithms
[package]: https://www.npmjs.com/package/@nejcm/js-algorithms
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
[prs]: http://makeapullrequest.com
[requests]: https://github.com/nejcm/js-algorithms/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen
[style-guide-badge]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[style-guide]: https://standardjs.com
[website]: https://nejcmursic.com/