Skip to content

Javascript implementation of data-structures and algorithms

Notifications You must be signed in to change notification settings

Nazanin1369/Algorithm.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm.js

This repository includes algorithmic problems and data structures implementation in Javascript.

NOTE: Work in progress

DataStructures

Tree

  • traverseDFS
  • traverseBFS
  • containsNode
  • addNode
  • removeNode
  • ...

Binary Search Tree

  • BFS
  • DFS
  • insertion
  • PreOrderTraversal
  • PostOrderTraversal
  • InOrderTraversal

Graph

  • Builiding a graph from a map
  • DFS
  • BFS
  • isComplete

Fibbonacci problem

  • RecursiveFib
  • MemoizedFib: Dynamic programming
  • BottomUpFib
  • ..

Arrays

  • Binary seacrch IndexOf

BackTracking

  • All possible subsets of set size n

JS interview questions

  • flatten an array
  • Operators problem
  • Knapsack problem

About

Javascript implementation of data-structures and algorithms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published