/educative-grokking-coding-interview

Solutions for Grokking the Coding Interview: Patterns for Coding Question in JavaScript.

Primary LanguageJavaScript

main workflow

About

This repository contains solutions for Grokking the Coding Interview: Patterns for Coding Question from https://educative.io.

Get started

Install dependencies

The problems are solved without any external dependency (required data structures and helper functions lay in the utils folder). The project uses jest and prettier only to have smooth development.

npm install

Run tests

npm test

Problems

Cyclic Sort

Fast And Slow Pointers

In Place Linked List Reversal

Merge Intervals

Sliding Window

Tree Breadth First Search

Tree Depth First Search

Two Heaps

Two Pointers