Data Sructure and Algorithms Review

This repo is a collection of common data structure and algorithm implementations. /data-structures are implemented as they're needed for some generic /algorithms, both are then later referenced in /exercises for real world implementations.

Contents

Usage

  1. Clone this repo
  2. Install dependencies npm install
  3. Run tests
  • Run all tests: npx jest
  • Run tests in specific file: npx jest ./algorithms/binary-search/index.test.ts

Resources

  1. Gayle Laakman McDowell / HackerRank video series
  2. Grokking Algorithms by Aditya Bhargava