Skip to content

Basic data structures & algorithms implemented in TypeScript

License

Notifications You must be signed in to change notification settings

colinbr96/ts-data-structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-data-structures

Basic data structures & algorithms implemented in TypeScript. Unit tests written in Jest.

List of implemented data structures / algorithms

  • Array
    • Merge Sort (Recursive)
    • Merge Sort (Iterative)
    • Binary Search
    • Binary Insert
  • Binary Search Tree
    • Insert
    • Search
  • Graph (Directed, Unweighted)
    • Depth First Search (Iterative)
    • Breadth First Search (Iterative)
  • Heap
    • Extract Top
    • Extract Top N
    • Heapify
  • Linked List
    • Remove First Occurrence
    • Reverse
  • Queue
    • Enqueue
    • Dequeue
  • Trie
    • Insert
    • Search
    • Starts With

Developing

Requirements:

Commands:

  • yarn - Installs all necessary dependencies
  • yarn build - Compiles the project to the dist folder as vanilla JS
  • yarn test - Runs all Jest unit tests
  • yarn coverage - Generates a test coverage report

About

Basic data structures & algorithms implemented in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published