make-github-pseudonymous-again / js-algorithms

:rocket: Algorithms for JavaScript
GNU Affero General Public License v3.0
38 stars 3 forks source link
agpl algorithm algorithms computer-science javascript js searching sorting

:rocket: Algorithms License GitHub issues


© xkcd.com

Playground for algorithms in JavaScript. This is a child project of js-library and the twin project of js-data-structures.

:newspaper: Description

This project is just a playground for any algorithm that doesn't fit in any of those projects,

:flashlight: Searching

:waning_gibbous_moon: Merging

:cake: Partitioning

:point_down: Selection

:signal_strength: Sorting

:balance_scale: Comparison sorting

:zzz: Integer sorting

:symbols: Strings

Nothing yet.

:hocho: Hashing

Nothing yet.

:triangular_ruler: Geometry

:globe_with_meridians: Graphs

:1234: Numbers

:symbols: Arithmetic

:two: :three: :five: :seven: Number theory

:shell: Integer sequences

:game_die: Randomness

:brain: Hard problems

:left_right_arrow: Sytems of equalities and inequalities

:broom: Combinatorics

Those packages aim to provide code bricks that are as generic as possible. Some examples are a Gauss-Jordan method that can work with any number model, a Karatsuba algorithm that can handle any input size, a Graham Scan algorithm that works with clockwise or counter clockwise ordering, and a Monotone Chain algorithm that can be used as a triangulation algorithm without any change.

:scroll: Reference

A list of links and projects focusing on algorithm implementation.

:coffee: Projects implementing algorithms in JavaScript

:peacock: Projects implementing algorithms in other languages

:link: Others