Skip to content

orkeluskar/algo-ds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is my javascript implementation of Algorithms & Data Structures

Getting Started

Since, this is written in JavaScript, you'll need Node installed on your machine

  1. Clone the repo

    git clone https://github.com/orkeluskar/algo-ds.git
  2. Change directory

    cd algo-ds
  3. Test the code?

    npm test

Project Structure

  • /lib - Contains all the necessary Data Structures like Linked Lists, TreeNode etc.
  • /test - Contains all the necessary test cases for each problem
  • /problems - All problems aggregated according to their underlying Data Structure

List of Problems

  1. Arrays
    1. Smallest Difference
    2. Contiguous Sequence
    3. Sum Swap
    4. Shuffle Cards
    5. Majority Element
  2. Trees and Graphs
    1. Check Balanced
    2. Validate BST
    3. Pond Sizes
  3. Math, Logic and puzzles
    1. Factorial Zeroes
    2. Heavy Pill
  4. String
    1. Word Distance
  5. Recursion & Dynamic Programming
    1. Triple Step
    2. Robot In A Grid
  6. Design
    1. LRU Cache

Releases

No releases published

Packages

No packages published