Search
Lessons (27)
- Stacks & Queues
… Avoid shift() on large arrays; use a proper queue. - Stacks: undo, call stack, bracket matching, DFS, monotonic-stack …
- JavaScript Essentials: Event Loop, Closures & this
… call stack, Web APIs, task queues](/img/frontend/event-loop.svg) Part Kitchen analogy Role --- --- --- Call stack The …
- Recursion & Backtracking
… Trust the smaller call. - Each call is a frame on the call stack; very deep recursion can overflow …
- Graphs: BFS & DFS
… DFS uses a stack , usually the call stack via recursion. js function dfs(graph, node, visited = new Set …
- Big-O Notation Made Simple
… each pending call sits on the call stack . A recursion 10,000 levels deep uses O(10,000 …
- Code Profiling
… Width matters; height is call depth, not cost. text Wide stack: request - buildReport - sortRows - localeCompare Narrow stack: request …
- Getting Interview Calls from LinkedIn
Eight practical ways to make LinkedIn bring you interview calls: a complete profile, a relevant network, a clear …
- Clean Error Handling
… logged, then forgotten; the caller thinks it worked try { await saveOrder(order); } catch (e) { console.log(e); } js …
- Inheritance
… use composition Stack → Array A stack is not an array (you shouldn't insert in the middle) ❌ No …
- Backend Languages: Node.js, Go, Python & Rust
… one thread + event loop"] EL(("🔁 event loop")) -- IO1[DB call → wait in background] EL -- IO2[HTTP call → wait …
- Choosing a Programming Language
… the compiler finds every caller Relies on tests Speed of writing a script Slightly slower Fastest Documentation Types …
- Multi-Account Strategy, Governance and Security Operations
… Customize with Account Factory for Terraform or CloudFormation StackSets so every account gets the same baseline. Access across …
- Resilience, Disaster Recovery and Multi-Region Design
… primary stack] R53 -.- failover S[Region B: standby stack] P --- DBA[(Aurora primary)] S --- DBB[(Aurora secondary)] DBA …
- Month 1: Data, Math Intuition and Classic ML (Weeks 1-4)
… the Python data stack Learn - AI is any system that does something we would call intelligent. Machine learning …
- Go Fundamentals
… the stack, running deferred calls on the way. If nothing recovers, the program crashes with a stack trace …
- Rust: Ownership, Borrowing and Lifetimes
… borrow of moved value a println!("{b}"); // ✅ mermaid flowchart LR subgraph Stack A["a (moved ❌)"] B["b<br …
- Month 2: Deep Learning, PyTorch and Transformers (Weeks 5-8)
… A network stacks layers. - Activation functions add non-linearity so the network can learn curves, not only straight …
- Monolith vs Microservices
… The network is homogeneous. mermaid flowchart LR subgraph InProcess["Monolith"] A1[orders.create] -- "function call<br/ ~0.001 …
- Node.js and Express
… Retained objects and their reference chains Hot functions, call stacks, CPU time Finds Memory leaks Slow functions and …
- Dynamic Programming
… the recursive idea) Needs the right fill order Stack overflow risk Yes, on deep inputs No Can save …
- Async JavaScript: Promises, async/await and Node's Event Loop
… languages/promise-states.svg) 📘 The browser event loop, call stack and the famous setTimeout vs Promise quiz are …
- From Software Architect to AI Architect: The 24-Week Plan
… AI Voice Assistant Handles calls and triggers CRM workflows Speech-to-text, LLM tools, text-to-speech Stretch …
- Structural Patterns: How to Connect Objects
… e; } } }; // Stack them like toppings const getUser = withLogging(withCache(withRetry(fetchUser)), "getUser"); mermaid flowchart LR Call[getUser 42 …
- Architecture Patterns at Scale
… Across two services, this becomes hard. - Easy tracing: one call stack shows the whole story. A modular monolith …
- Python Web APIs: FastAPI and Django
… Blocking calls (requests, sync SQLAlchemy, time.sleep ) def FastAPI runs it in a thread pool Blocking calls inside …
- L6 Production Debugging Casebook
… A ten-second dependency call takes your service down What you see: a service you call starts taking …
- Go Concurrency: Goroutines, Channels and Context
… You start one by putting go in front of a function call: go func sendEmail(to string) { time …