JavaScript
JavaScript copied to clipboard
Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
[](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...
Html
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...
[](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...
[](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...
[](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?...