Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 1.8 KB

README.md

File metadata and controls

63 lines (35 loc) · 1.8 KB

A few algorithms and data structures implemented in Javascript.

Data Structures

Array Based Lists

A stack interface for the using JS array methods

A traditional implementation of an automatically expanding array based list with O(1) insertion and deletion at one end (LIFO).

A traditional implementation of an automatically expanding array based list with O(1) insertion and deletion in the same order they were added (FIFO).

A list implementation with fast insertion and deletion at both ends (enqueue, dequeue, push, and pop).

Heaps

An implicit head implemented using an array and Eytzinger's Method.

Algorithms

Sorting

String Matching

Shuffling

Math