GithubHelp home page GithubHelp logo

dsingh003 / epi-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nigelmnz/epi-js

0.0 0.0 0.0 777 KB

Solutions for the book "Elements of Programming Interviews", written in JS and TS.

JavaScript 71.50% TypeScript 28.50%

epi-js's Introduction

epi-js

These are my current solutions to Elements of Programming Interviews, written in Javascript and Typescript. I'm currently working on updating all solutions into Typescript. A disjoint set of problems done in Python can be found here: EPI-Py

How to run

After cloning the directory, prepare it with:

npm install

To run the included unit tests:

npm run test:watch

Solutions

Primitive Types

Problem Test
Computing the parity of a word tests

Arrays and Strings

Arrays

Problem Test
The Dutch national flag problem tests
Compute the Spiral Ordering of a 2D Array tests

Strings

Problem Test
Interconvert Strings and Integers tests
Replace and Remove tests

Linked Lists

Problem Test
Merge two sorted lists tests
Cycle Detection tests

Stacks and Queues

Stacks

Problem Test
Implement a stack with max API tests

Queues

Problem Test

Binary Trees

Problem Test
Traversal of binary trees tests

Heaps

Problem Test
Merging k sorted arrays tests

Searching

Binary Search

Problem Test
Finding the first element larger than k tests

Generalized Search

Problem Test

Hash Tables

Problem Test
Checking if the characters of string A can form string B tests

Sorting

Problem Test
Find the intersection of two sorted lists tests

Binary Search Trees

Problem Test
Determine is a tree is a BST tests

Recursion

Problem Test

Dynamic Programming

Problem Test
Find the edit distance between two strings tests

Greedy Algorithms and Invariants

Problem Test

Graphs

Problem Test
Solve a maze tests

Parallel Computing

Problem Test

Design Problems

Problem Test

Honors Class

Problem Test

Structures and Algorithms

Type Test
Binary Tree tests
Binary Search Tree tests
Graph Search tests
Hashtable tests
Binary Heap tests
Linked List tests
Tree Node tests
Sorts tests
Trie tests

epi-js's People

Contributors

nigelmnz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.