JavaScript icon indicating copy to clipboard operation
JavaScript copied to clipboard

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.

Results 263 JavaScript issues
Sort by recently updated
recently updated
newest added

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/) [know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change?...

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/) [know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change?...

Added an algorithm - Morris Traversal Algorithm - #1806 - I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Javascript/blob/master/CONTRIBUTING.md). - This pull request is all my own work -- I have not plagiarized. - I...

## Description This PR fixes a critical bug in the ConvexHull algorithm and improves the implementation. ## Changes Made 1. **Fixed Division by Zero Bug**: Replaced slope-based orientation calculation with...

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/) [know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [ ✅] Add an algorithm? - [ ✅] Fix a bug or typo in an existing algorithm? - [ ✅] Documentation...

Implemented StrongNumber program in JavaScript - [ ] Checks if a number is a Strong Number. - [ ] - A Strong Number is a number whose sum of the...

- Mark only odd multiples starting from i² to reduce iterations - Collect primes after marking to avoid duplicates and simplify logic - Explicitly include 2 and skip even numbers...

Add an algorithm (Morris Traversal for binary trees) This PR adds the Morris Inorder Traversal algorithm. Morris traversal allows in-order traversal of a binary tree without using recursion or a...

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/) [know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change?...

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/) [know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change?...