js-data-structures icon indicating copy to clipboard operation
js-data-structures copied to clipboard

:herb: Data structures for JavaScript

:herb: Data Structures License GitHub issues


Advanced Data Structures by Erik Demaine

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

:newspaper: Description

This README regroups dozens of projects focusing on implementing data structures with JavaScript. This project itself does not contain any code.

:baby: Children

:oden: Sequences

Arrays

Double-ended queues

Linked lists

Stacks

:juggling_person: Maintaining priorities

:fallen_leaf: Heaps

:mag: Searching

Total order

:seedling: Search trees
Other

Strings

:chains: Tries

:evergreen_tree: Persistent data structures

:hocho: Hashing

Nothing yet.

:rice_ball: Disjoint sets (union-find)

:globe_with_meridians: Graphs

:school_satchel: Python's collections library for Javascript

:triangular_ruler: Geometry

  • @aureooms/js-cg : Computational geometry data structures and algorithms for JavaScript

Miscellaneous

Those packages aim to provide code bricks that are as generic as possible. Some examples are:

:scroll: Reference

A list of links and projects focusing on data structures implementation.

:coffee: Projects implementing data structures in JavaScript

  • https://github.com/nzakas/computer-science-in-javascript
  • https://github.com/benoitvallon/computer-science-in-javascript
  • http://www.nayuki.io
  • https://github.com/Yomguithereal/mnemonist

:peacock: Projects implementing data structures in other languages

  • https://github.com/patmorin/ods (C++, Java, Python)
  • http://www.nayuki.io (C, C++, Java, C#, Python, Haskell, MATLAB and others)
  • http://rosettacode.org (All kinds of languages)
  • https://github.com/mahmoud/boltons (Python)
  • https://github.com/simongog/sdsl-lite (C++)