Goal: Go deeper on async JavaScript (event loop is a favorite interview topic), understand JS objects and inheritance, and round out foundational DBMS + DSA knowledge.
Topics
| Day | Focus | Topics |
|---|---|---|
| Mon | JS Async Mastery | Error Handling · Event Loop · Debouncing & Throttling |
| Tue | JS Objects & OOP | Objects · Prototypal Inheritance · Classes |
| Wed | DBMS Theory | BASE Properties · CAP Theorem |
| Thu | DBMS Advanced SQL | Subqueries & CTEs · Window Functions |
| Fri | DSA Sorting & Lists | Sorting Algorithms · Linked Lists |
Key Concepts
- Event loop phases: call stack, microtask queue (promises), macrotask queue (setTimeout) — the order matters
- Debounce vs throttle: both limit function calls, but in very different ways
- Prototype chain lookup — how JS finds properties you didn’t define on an object
classsyntax vs constructor functions — syntactic sugar, same prototype mechanics underneath- CAP theorem tradeoffs — you can only pick two, and the choice shapes your architecture
- Merge sort (stable, O(n log n) guaranteed) vs quick sort (in-place, O(n log n) average)
- Linked list pointer manipulation — reversing, detecting cycles, finding middle
Practice
- Predict event loop output for 3 code snippets mixing
setTimeout,Promise, andqueueMicrotask - Implement debounce and throttle from scratch — both are common interview asks
- Reverse a linked list iteratively and recursively
- Write a window function query to rank employees by salary within each department
~12 topics · ~1.5 hrs/day · Focus: read the linked notes, then code each concept