javascript-algorithms
javascript-algorithms copied to clipboard
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
`isPowerOfTwo` algos don't specify their ranges
Neither the README nor the src files explicitly say that the bitwise approach is only correct for 32bit ints. The way it's worded implies that the bitwise approach is always...
Update breadthFirstSearch.js
[Typo] README.md
In line 280 of the README.md it says `In case if linting or testing is failing` It should say `In case of linting or testing is failing` [README.md](https://github.com/trekhleb/javascript-algorithms/files/8516112/README.md)
U
add unit test for interpolationSearch.js
Here is the report: https://docs.google.com/document/d/188vsDiq5C8d0sqrqgrdbt4NxzM9vvWLQc6UaFKQPczQ/edit
I thought the descriptions of the early and postscript in the pseudocode also needed to be translated, so I did. I also fixed a logic error in the doubly linked...
It appears the `hamiltonian-cycle` module finds all possible cycles. Does the eulerian path module find all possible cycles, or just one? If not, how would you modify it to find...