Search
Lessons (30)
- Trees & Binary Search Trees
… Databases use B-trees , wide trees with many keys per node, so a lookup touches only 3–4 …
- Structural Patterns: How to Connect Objects
… Flyweight 🌲 Analogy: A video game forest with 100,000 trees. Every oak shares one 3D model and texture …
- How Browsers Render a Page
… Combine them into a plan of what's actually visible ( render tree ). 4. Measure where every wall goes …
- Database Indexing & Transactions
… Learn how B-tree indexes work, how to read a query plan, and how isolation levels prevent concurrency …
- Storage Engines & Database Operations
Understand B-trees, LSM trees, write-ahead logs, connection pools, backups and the signals behind database reliability. What …
- Data Structures for Scale
… a ~1% error is fine for a dashboard, not for billing. - Merkle tree to find which data blocks …
- Database Internals, Replication and Scaling
… safer means slightly slower. B-tree vs LSM tree in plain terms B-tree LSM tree --- --- --- Like... A …
- Heaps & Priority Queues
… 2. Shape rule: the tree is complete : filled level by level, left to right, with no gaps. (A …
- React Internals & Concurrent Rendering
… calculate tree] R -- D[Reconcile old and new tree] D -- C[Commit: update DOM] C -- E[Effects run …
- Recursion & Backtracking
… sum of nested arrays Recursion shines when the data itself is recursive (trees, nested lists, folders, JSON). js …
- Linux Command-Line Essentials
… Press q to quit the manual. The Linux folder layout Everything in Linux lives in one tree that …
- React Fundamentals
… When the data changes, React updates the screen for you. ![A page broken into a tree of components …
- DSA Interview Patterns Cheat Sheet
… SW[Sliding window / Prefix sums] B -- no C{Tree or graph?<br/ grid, network, dependencies} C -- shortest path …
- Month 1: Data, Math Intuition and Classic ML (Weeks 1-4)
… 2. Tuesday: Train logistic regression and a decision tree on a classification dataset. Kaggle Titanic is a fine …
- Neural Networks and Deep Learning
… For smaller structured tables, simpler tree-based or linear models can be faster, easier to explain, and just …
- Which Pattern Do I Need?
… access, cache,<br/ lazy-load"] -- PR[Proxy] P8["Tree of items and groups"] -- CO[Composite] P9["Many things …
- React vs Vue vs Angular
… fine-grained updates with no memoisation. - Angular historically checked the whole tree after every event (zone.js); modern …
- Binary Search
… solves many minimum/maximum that works problems. - git bisect and database B-tree indexes use the same idea.
- Composition over Inheritance
Build objects from small, swappable parts instead of deep class trees. Learn the "has-a" test, why inheritance …
- Graphs: BFS & DFS
… B --- D((Mall)) C --- D D --- E((Airport)) Trees are a special case of graphs (connected, no cycles …
- Sorting Algorithms
… The array is halved log n times (the tree's height), and each level does O(n) merging …
- Next.js Rendering: CSR, SSR, SSG, ISR & Server Components
… buttons, forms, animations 💡 Keep client components small and at the leaves of the tree. The more stays on …
- JavaScript Language Fundamentals
… require / module.exports Loading Static, analysed before running (tree-shaking) Dynamic, at runtime Top-level await ✅ ❌ Enable in …
- OOP Mistakes and Interview Questions
… Deep inheritance trees mermaid flowchart LR A[BaseEntity] -- B[AuditableEntity] -- C[SoftDeletableEntity] -- D[BaseUser] -- E[Customer] -- F[PremiumCustomer …
- Rust: Types, Errors and Concurrency
… T Shared ownership (reference counted), single thread Graph/tree nodes with several parents Arc<T Atomic Rc , safe …
- Storage, Search and Location Queries
… 2 km Geospatial index Geohash, grid or R-tree style nearby lookup. File upload example Instead of sending …
- Go Concurrency: Goroutines, Channels and Context
… Contexts form a tree . Cancelling a parent automatically cancels all of its children , like switching off a room …
- Indexes, EXPLAIN & Query Plans
… A B-tree index keeps selected values ordered so it can seek to a small matching range. The …
- L6 Production Debugging Casebook
… which classes grew, and what is holding on to them (the dominator tree and retained size show this …
- Caching & Redis
… A cache entry without an expiry can become permanently stale after an invalidation bug. A simple decision tree …