├── Binary Heaps ├── max-binary-heap.ts ├── min-binary-heap.js ├── priority-queue.ts └── readme.md ├── Binary Search Trees ├── binary-search-tree.ts └── readme.md ├── Data Structures ├── doubly-linked-list.ts ├── queue.ts ├── readme.md ├── singly-linked-list.ts └── stack.ts ├── Djkstra's Algorithm ├── readme.md └── weighted-graph.ts ├── Dynamic Programming ├── fibonacci.ts ├── knapsack.js ├── longest-common-subsequence.js └── readme.md ├── Graphs ├── adjacency-list.ts └── readme.md ├── Hash Tables ├── hash-table.ts ├── hash.ts └── readme.md ├── Problem Solving Patterns ├── anagram.ts ├── are-there-duplicates.ts ├── average-pair.ts ├── count-unique-values.ts ├── find-longest-substring.ts ├── frequency-counter.ts ├── is-subsequence.ts ├── max-subarray-sum.ts ├── min-subarray-length.ts ├── readme.md ├── search.ts └── sum-zero.ts ├── Questions ├── LRU-cache.js ├── connect-ropes.js ├── favorite-genres.ts ├── log-file.ts ├── most-common-words.ts ├── movies-on-flight.ts ├── optimization.ts ├── roll-dice.ts ├── search-2d-matrix.ts ├── sort-center.ts ├── subtree-max-average.ts └── treasure-island.ts ├── README.md ├── Recursion ├── capitalize-first.ts ├── capitalize-words.ts ├── collect-odds.ts ├── collect-strings.ts ├── count-down.ts ├── factorial.ts ├── fib.ts ├── flatten.ts ├── is-palindrome.ts ├── nested-even-sum.ts ├── power.ts ├── product-of-array.ts ├── readme.md ├── recursive-range.ts ├── reverse.ts ├── some-recursive.ts ├── stringify-numbers.ts └── sum-range.ts ├── Searching Algorithms ├── binary-search.ts ├── linear-search.ts ├── naive-string-search.ts └── readme.md ├── Sorting Algorithms ├── bubble-sort.ts ├── insertion-sort.ts ├── merge-sort.ts ├── quick-sort.ts ├── readme.md └── selection-sort.ts └── js-questions /Binary Heaps/max-binary-heap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Binary Heaps/max-binary-heap.ts -------------------------------------------------------------------------------- /Binary Heaps/min-binary-heap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Binary Heaps/min-binary-heap.js -------------------------------------------------------------------------------- /Binary Heaps/priority-queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Binary Heaps/priority-queue.ts -------------------------------------------------------------------------------- /Binary Heaps/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Binary Heaps/readme.md -------------------------------------------------------------------------------- /Binary Search Trees/binary-search-tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Binary Search Trees/binary-search-tree.ts -------------------------------------------------------------------------------- /Binary Search Trees/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Binary Search Trees/readme.md -------------------------------------------------------------------------------- /Data Structures/doubly-linked-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Data Structures/doubly-linked-list.ts -------------------------------------------------------------------------------- /Data Structures/queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Data Structures/queue.ts -------------------------------------------------------------------------------- /Data Structures/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Data Structures/readme.md -------------------------------------------------------------------------------- /Data Structures/singly-linked-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Data Structures/singly-linked-list.ts -------------------------------------------------------------------------------- /Data Structures/stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Data Structures/stack.ts -------------------------------------------------------------------------------- /Djkstra's Algorithm/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Djkstra's Algorithm/readme.md -------------------------------------------------------------------------------- /Djkstra's Algorithm/weighted-graph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Djkstra's Algorithm/weighted-graph.ts -------------------------------------------------------------------------------- /Dynamic Programming/fibonacci.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Dynamic Programming/fibonacci.ts -------------------------------------------------------------------------------- /Dynamic Programming/knapsack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Dynamic Programming/knapsack.js -------------------------------------------------------------------------------- /Dynamic Programming/longest-common-subsequence.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Dynamic Programming/longest-common-subsequence.js -------------------------------------------------------------------------------- /Dynamic Programming/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Dynamic Programming/readme.md -------------------------------------------------------------------------------- /Graphs/adjacency-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Graphs/adjacency-list.ts -------------------------------------------------------------------------------- /Graphs/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Graphs/readme.md -------------------------------------------------------------------------------- /Hash Tables/hash-table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Hash Tables/hash-table.ts -------------------------------------------------------------------------------- /Hash Tables/hash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Hash Tables/hash.ts -------------------------------------------------------------------------------- /Hash Tables/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Hash Tables/readme.md -------------------------------------------------------------------------------- /Problem Solving Patterns/anagram.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/anagram.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/are-there-duplicates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/are-there-duplicates.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/average-pair.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/average-pair.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/count-unique-values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/count-unique-values.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/find-longest-substring.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/find-longest-substring.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/frequency-counter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/frequency-counter.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/is-subsequence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/is-subsequence.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/max-subarray-sum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/max-subarray-sum.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/min-subarray-length.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/min-subarray-length.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/readme.md -------------------------------------------------------------------------------- /Problem Solving Patterns/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/search.ts -------------------------------------------------------------------------------- /Problem Solving Patterns/sum-zero.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Problem Solving Patterns/sum-zero.ts -------------------------------------------------------------------------------- /Questions/LRU-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/LRU-cache.js -------------------------------------------------------------------------------- /Questions/connect-ropes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/connect-ropes.js -------------------------------------------------------------------------------- /Questions/favorite-genres.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/favorite-genres.ts -------------------------------------------------------------------------------- /Questions/log-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/log-file.ts -------------------------------------------------------------------------------- /Questions/most-common-words.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/most-common-words.ts -------------------------------------------------------------------------------- /Questions/movies-on-flight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/movies-on-flight.ts -------------------------------------------------------------------------------- /Questions/optimization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/optimization.ts -------------------------------------------------------------------------------- /Questions/roll-dice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/roll-dice.ts -------------------------------------------------------------------------------- /Questions/search-2d-matrix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/search-2d-matrix.ts -------------------------------------------------------------------------------- /Questions/sort-center.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/sort-center.ts -------------------------------------------------------------------------------- /Questions/subtree-max-average.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/subtree-max-average.ts -------------------------------------------------------------------------------- /Questions/treasure-island.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Questions/treasure-island.ts -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/README.md -------------------------------------------------------------------------------- /Recursion/capitalize-first.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/capitalize-first.ts -------------------------------------------------------------------------------- /Recursion/capitalize-words.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/capitalize-words.ts -------------------------------------------------------------------------------- /Recursion/collect-odds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/collect-odds.ts -------------------------------------------------------------------------------- /Recursion/collect-strings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/collect-strings.ts -------------------------------------------------------------------------------- /Recursion/count-down.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/count-down.ts -------------------------------------------------------------------------------- /Recursion/factorial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/factorial.ts -------------------------------------------------------------------------------- /Recursion/fib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/fib.ts -------------------------------------------------------------------------------- /Recursion/flatten.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/flatten.ts -------------------------------------------------------------------------------- /Recursion/is-palindrome.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/is-palindrome.ts -------------------------------------------------------------------------------- /Recursion/nested-even-sum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/nested-even-sum.ts -------------------------------------------------------------------------------- /Recursion/power.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/power.ts -------------------------------------------------------------------------------- /Recursion/product-of-array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/product-of-array.ts -------------------------------------------------------------------------------- /Recursion/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/readme.md -------------------------------------------------------------------------------- /Recursion/recursive-range.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/recursive-range.ts -------------------------------------------------------------------------------- /Recursion/reverse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/reverse.ts -------------------------------------------------------------------------------- /Recursion/some-recursive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/some-recursive.ts -------------------------------------------------------------------------------- /Recursion/stringify-numbers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/stringify-numbers.ts -------------------------------------------------------------------------------- /Recursion/sum-range.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Recursion/sum-range.ts -------------------------------------------------------------------------------- /Searching Algorithms/binary-search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Searching Algorithms/binary-search.ts -------------------------------------------------------------------------------- /Searching Algorithms/linear-search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Searching Algorithms/linear-search.ts -------------------------------------------------------------------------------- /Searching Algorithms/naive-string-search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Searching Algorithms/naive-string-search.ts -------------------------------------------------------------------------------- /Searching Algorithms/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Searching Algorithms/readme.md -------------------------------------------------------------------------------- /Sorting Algorithms/bubble-sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Sorting Algorithms/bubble-sort.ts -------------------------------------------------------------------------------- /Sorting Algorithms/insertion-sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Sorting Algorithms/insertion-sort.ts -------------------------------------------------------------------------------- /Sorting Algorithms/merge-sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Sorting Algorithms/merge-sort.ts -------------------------------------------------------------------------------- /Sorting Algorithms/quick-sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Sorting Algorithms/quick-sort.ts -------------------------------------------------------------------------------- /Sorting Algorithms/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Sorting Algorithms/readme.md -------------------------------------------------------------------------------- /Sorting Algorithms/selection-sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/Sorting Algorithms/selection-sort.ts -------------------------------------------------------------------------------- /js-questions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noahmateen/JavaScript-Algorithms-and-Data-Structures-Masterclass/HEAD/js-questions --------------------------------------------------------------------------------