feat: working through all the algos i'll need

This commit is contained in:
mpaulson 2022-07-18 21:54:39 -06:00
parent 7101b99c35
commit 6f41e5760d
5 changed files with 264 additions and 27 deletions

View file

@ -1,6 +1,55 @@
module.exports = {
dsa: [
"LinearSearchList",
"BinarySearchList",
"TwoCrystalBalls",
"BubbleSort",
"LinkedList",
"ArrayList",
],
}
## Lists
LinkedList
* get length(): number;
* remove(item: T): T | undefined;
* removeAt(index: number): T | undefined;
* append(item: T): void;
* prepend(item: T): void;
* get(index: number): T | undefined;
Queue
Stack
ArrayList
* Same api as list
## Recursion
The Maze Problem
Quicksort
## Trees
Binary Tree Traversals
DFS: pre
DFS: in
DFS: post
BFS on Binary
### Practice Problem
- Compare Two Binary Trees
DFS: Binary Search Tree Traversal
RedBlack Trees
## Graphs
DFS
BFS
Dijkstra
## Map
Implement Map