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: - [ ] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation...

function myFunction() { document.getElementById("demo").innerHTML = "slm; } Script in head tag nbr hihi Sana Bir Sorum Var! body { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; margin:...

### Describe your change: - [ ] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? - [x] Add...

[![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...

### Describe your change: - [ ] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? - [x] Add...

### Motivation - A Harshad number (also known as a Niven number) is an integer that is divisible by the sum of its digits. - Harshad numbers are sometimes called...

[![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? - [x] Documentation change?...

Fix/ Changed implementation of slope calculation Added cross product logic instead of math slope formula fixes #1815 - [x] Fix a bug or typo in an existing algorithm? ### Checklist:...

Added implementation of FFT (Cooley–Tukey) for polynomial convolution. Also added a segment tree with lazy propagation for range updates and queries. I have included test for both and also tested...

[![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?...