/algorithms-and-data-structures

Examples of algorithms and data structures in TypeScript

Primary LanguageTypeScript

Algorithms and Data Structures

WIP

Beautifully crafted and well documented examples of Algorithms and Data Structures.

Algorithms

Damerau Levenshtein Distance

Euler's Totient

Fibonacci Numbers

Fisher–Yates Shuffle

Levenshtein Distance

Linear Congruential Generator

Lucas Numbers

Mersenne Twister

Phi

Sieve of Eratosthenes

Search Algorithms

Binary Search

Exponential Search

Interpolation Search

Linear Search

Ternary Search

Hash Algorithms

djb2

sdbm

loselose

Sort Algorithms

Bubble Sort

Comb Sort

Heapsort

Insertion Sort

Merge Sort

Quicksort

Selection Sort

Shellsort

Data Structures

AVL Tree

Binary Search Tree

Binary Tree

Circular Doubly Linked List

Circular Linked List

Deque

Dictionary

Doubly Linked List

Graph

Hash Table

Linked List

Queue

Red Black Tree

Skip List

Stack

Tree

Trie

Unrolled Linked List

Licence

MIT