You can find the source code organized by chapter under the src folder.
Each file has the .js and the .ts extension, so you get both the JavaScript and the Typescript versions of the source code.
Each data structure and algorithm from parts 2 and 3 also have a _test_ folder where you can find the respective Jest test cases.
Install all dependencies
npm install
Run all tests
npm test
Run a particular example
cd src/01-intro
node 01-hello-variables.js
or:
node src/01-intro/01-hello-variables.js
New to this repository? Check out our comprehensive learning guides:
- Learning Guide - Complete guide on how to learn from this codebase, what's covered, and interview preparation tips
- Quick Reference - Cheat sheet for common patterns, time complexity, and quick commands
- Progress Tracker - Track your learning journey with a 12-week study plan
This repository covers:
- ✅ Data Structures: Arrays, Stack, Queue, Linked Lists, Hash Tables, Trees (BST/AVL/Red-Black), Heaps, Tries, Graphs
- ✅ Algorithms: Sorting, Searching, Tree Traversals, Graph Algorithms (BFS/DFS/Dijkstra), Recursion
- ✅ Interview Prep: LeetCode problems integrated throughout, real-world examples
- ✅ Complexity Analysis: Big O notation and performance optimization
Interview Coverage: ~75-80% of general software engineering interviews | 60-70% of FAANG interviews
See Learning Guide for detailed coverage analysis and study recommendations.
- JavaScript
- TypeScript
- Jest (tests)
Happy Coding!