A small selection of essential algorithms in Javascript. Abelson and Sussman's SICP book says "a procedure is a pattern for the local evolution of a computational process". Find some essential procedures and patterns below.
See also:
- https://github.com/trekhleb/javascript-algorithms
- https://literateprograms.org/category_programming_language_javascript.html
Algorithms in general:
Sedgewick book - Algorithms 4th edition, by Robert Sedgewick and Kevin Wayne
CLRS book - "Introduction to Algorithms" by Cormen, Leiserson, Rivest and Stein
SICP book - "Structure and Interpretation of Computer Programs" from Abelson and Sussman
TAOCP book - "The Art of Computer Programming" from Donald Knuth
Run "npx eslint" to execute the linter
Run "npm test" to start the tests
Combinatorial optimization
Classic algorithms
Geometric algorithms