javascript-algorithms icon indicating copy to clipboard operation
javascript-algorithms copied to clipboard

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

Results 281 javascript-algorithms issues
Sort by recently updated
recently updated
newest added

Added change for issue https://github.com/trekhleb/javascript-algorithms/issues/881

Instead of this `const pivotElement = array.shift();` // O(n) we should use `const pivotElement = array.pop();` // O(1) When taking the pivot as last element 2 test cases are failing....

enhancement

https://github.com/trekhleb/javascript-algorithms/blob/cb7afe18ef003995d8e23cc0b179ee7e37e8a19e/src/algorithms/sorting/quick-sort/QuickSortInPlace.js#L7 The link is connected to weird gamble site. It needs to replace.

Hi i dont know why but i am not able to run your program , i am new to js please help me ``` Error > [email protected] test ......\javascript-algorithms >...

Translate one sentence to Portuguese and fix understanding from an already translated sentence

This PR suggests to fix a typo in a doc tag. Please review.

Signed-off-by: Ryan Russell

- Translation of Insertion Sort to PT-BR

readme file isn't fully translated to Bengali but I'll finish translation soon.

Closes #889. The bitwise approach isn't mathematically correct, because it only works for 32bit ints, therefore it should be exclusive to the `math/bits` directory. I also added info about the...