Wilson Wu
Code With Wilson
I'm using AI to learn AI, and I'm publishing the journey as I go. Each episode is a NotebookLM-generated audio overview of a study brief I wrote — Chip Huyen chapters, LeetCode problem walkthroughs, AI Engineering interview topics. Built for myself, useful for anyone studying AI engineering for Google Cloud, Anthropic, OpenAI, or similar roles. Made transparently with NotebookLM (audio) and Claude (briefs). — Wilson Wu
Husk å besøke podkastens nettsted og støtte skaperen: codewithwilson.com
Forfatter
Wilson Wu
Kategori
Podkastens nettsted
Siste episode
20.07.2026
Hvor kan du lytte?
Podkaster i appen Replaio Radio Kommer snartPodkaster kommer snart til appen. Installer nå, og bli den første som ser en helt ny tilnærming til podkaster
Episoder
LeetCode #128 — Longest Consecutive Sequence, Walked Through the Six-Phase Framework 03.05.2026 20:25
Longest Consecutive Sequence asks for the longest run of consecutive integers in an unsorted array, in O(n) time. Sorting takes O(n log n), so we can't sort. The trick: **start a run only from a number that has no predecessor in the set**. That single observation collapses what looks like an O(n²) problem into a clean linear scan. Longest Consecutive Sequence is the **start-of-run** problem. The h...
LeetCode #217 — Contains Duplicate, Walked Through the Six-Phase Framework 03.05.2026 17:45
Contains Duplicate is the degenerate case of Two Sum: instead of "have I seen the complement?", the question is just "have I seen *this*?" The answer is the foundation of every membership-test problem in LeetCode. **One pass, hashmap, return early on collision.** That's it. Contains Duplicate is the **membership test**. The hashset answers "have I seen this?" in O(1). Once you have that hammer, ev...
LeetCode #49 — Group Anagrams, Walked Through the Six-Phase Framework 03.05.2026 19:20
Group Anagrams demonstrates the upgrade from "hashmap as memory" to "hashmap as group-by." The whole problem becomes trivial once you see the move: compute a canonical signature for each string, use that signature as a dictionary key, and append every string with that signature to the same bucket. **The hashmap key is the real algorithm.** Group Anagrams is the canonical demonstration of "hashmap...
LeetCode #242 — Valid Anagram, Walked Through the Six-Phase Framework 03.05.2026 19:08
Anagram problems are about **canonical form**: two strings are anagrams if and only if their character counts are identical. The whole problem reduces to "build the count, compare the counts." Once you see that, every anagram-family problem (Valid Anagram, Group Anagrams, Find All Anagrams in a String) is the same move. Anagrams reduce to **comparing frequency tables**. Sorting is the brute force;...
LeetCode #1 — Two Sum, Walked Through the Six-Phase Framework 03.05.2026 20:05
Two Sum is not interesting because it's hard — it's interesting because it's the canonical demonstration of the single most common optimization move in all of LeetCode: trade space for time using a hashmap. This episode walks through the six-phase framework explicitly, applied to Two Sum, so the framework itself gets reinforced. Six topics: (1) Phase 1 understand the problem — restate, examples by...
Building ML Systems for a Trillion Trillion FLOPS — Horace He, Jane Street Tech Talk 03.05.2026 18:09
What ML systems actually look like at frontier scale, why traditional systems thinking breaks, and where the engineering leverage lives. Six topics: (1) the scale of modern ML infrastructure — 1e26 FLOPs, billion-dollar starting prices, nuclear-power-plant data centers; (2) why ML systems are fundamentally different — absurdly simple programs, absurdly high performance demands (50% MFU), monocultu...
How to Approach Any LeetCode Problem — The Six-Phase Framework 30.04.2026 20:05
The framework matters more than any individual problem. Most beginners fail LeetCode by jumping to code; strong candidates do six distinct things in sequence and only touch the keyboard at phase 5. Walk-through of each phase: Phase 1 understand the problem (restate, examples, constraints); Phase 2 recognize the pattern (15-20 patterns cover 95% of interview problems); Phase 3 brute force first alw...
AI Engineering Architecture and User Feedback 30.04.2026 22:00
Capstone topic for the AI engineering discipline. An AI product is not 'an LLM call' — it's a seven-layer system where most production failures happen outside the model. Covers: the seven-layer architecture (frontend, orchestration, retrieval, guardrails, model, output filter, telemetry); observability and distributed tracing for multi-step agents; explicit vs implicit user feedback; the feedback...
Chip Huyen, AI Engineering — Chapter 9: Inference Optimization 29.04.2026 23:00
A frontier LLM at $5 per million tokens looks cheap on the pricing page. Then the arithmetic: one million DAUs issuing one 2,000-token query each is two billion tokens per day, $10K per day, $3.6M per year — and that's just inference, before retrieval, embeddings, evals, or human review. **Inference optimization is serving the same intelligence at materially lower cost without breaking the quality...
Chip Huyen, AI Engineering — Chapter 8: Dataset Engineering 29.04.2026 22:00
When you build with foundation models, the model itself is largely a fixed input — you pick GPT, Claude, or Gemini, and you don't retrain weights. The variables you actually control are **the data going in**: training data if you fine-tune, the retrieval corpus if you do RAG, the prompt examples if you do in-context learning, the eval data you use to measure whether anything works. Every one of th...
RAG Systems — Deep Dive Topic Overview 29.04.2026 25:00
Synthesis of the 105 RAG interview questions in the dedicated RAG Q-bank. Goes much deeper than Chapter 6 — into the engineering details interviewers actually probe for production RAG systems. Covers: the 4-step pipeline (index, retrieve, augment, generate), chunking trade-offs (size, overlap, semantic chunking), embedding choice (generic vs domain-tuned, dimensions vs storage), hybrid retrieval (...
AI Agents and Agentic Systems — Interview Topic Overview 29.04.2026 23:00
Synthesis of the 33 AI Agents questions in the AI Engineer interview Q-bank. Goes deeper than Chapter 6 — into the production tradeoffs interviewers actually probe. Covers: the chatbot/RAG/agent distinction, the reason-act-observe loop (ReAct), planning patterns (ReAct vs Plan-and-Execute vs Reflexion), tool definitions and function calling, Anthropic tool use and MCP, memory layering (short-term...
Chip Huyen, AI Engineering — Chapter 7: Finetuning 29.04.2026 23:00
Fine-tuning means teaching a model new **behaviors** by updating its weights. Different from prompting (no weight changes — steer in-context) and RAG (no weight changes — inject context at inference). **The hierarchy is prompting → RAG → fine-tuning, in that order**, because each step costs more, takes longer, and is harder to reverse than the last. Fine-tuning is the most powerful tool and the mo...
Chip Huyen, AI Engineering — Chapter 6: RAG and Agents 28.04.2026 23:00
Two ideas, one chapter, same root limitation. A foundation model is **frozen at training time**, has a **bounded context window**, and **cannot act on the world**. **RAG (Retrieval-Augmented Generation)** injects fresh, private, or domain-specific knowledge at runtime by retrieving relevant chunks into the prompt — knowledge without retraining. **Agents** extend the model's reach by letting it cal...
Chip Huyen, AI Engineering — Chapter 5: Prompt Engineering 27.04.2026 23:00
Prompt engineering is the practice of treating prompts as **software artifacts** rather than chat messages. A prompt has a structure, a version, an associated eval set, a cost profile, and a failure mode catalog. You refactor prompts, diff them, roll them back. The shift from "prompting" to "prompt engineering" happens the moment you stop tweaking strings in a playground and start measuring delta...
Chip Huyen, AI Engineering — Chapter 4: Evaluate AI Systems 27.04.2026 20:40
The shift from Chapter 3 to Chapter 4 is the shift from evaluating a *model* to evaluating a *system*. A model is a single function scored on a benchmark. A system is a pipeline of components, hit by real traffic, under joint constraints: latency, dollar cost, quality, safety — plus the variance of all four under load. **System eval treats those as a joint optimization, not a stack of independent...
Chip Huyen, AI Engineering — Chapter 3: Evaluation Methodology 27.04.2026 22:00
Software testing assumes a deterministic spec — given input X, the function must return Y. LLM evaluation lives in a different universe: the same prompt produces different outputs across runs, two different outputs can both be correct, and "correct" often depends on context the test harness never saw. So eval is **not** "did the function return the right value?" It's **"across a representative dis...
LLM Fundamentals — Interview Topic Overview 27.04.2026 22:00
Synthesis of the 49 LLM Fundamentals questions in the AI Engineer interview Q-bank. Goes deeper than Ch 2 — into the math interviewers actually probe. Covers: Transformer architecture, the attention mechanism (Q/K/V, multi-head, scaled dot-product, causal masking, GQA, MHA, Flash Attention), tokenization (BPE, WordPiece, SentencePiece), positional encoding (RoPE), embeddings, KV cache, context win...
Chip Huyen, AI Engineering — Chapter 2: Understanding Foundation Models 27.04.2026 20:00
A foundation model is the result of three ingredients combined in sequence: **a giant pile of data**, **an architecture that can learn patterns in that data efficiently**, and **a training process that runs for weeks on thousands of GPUs**. After pre-training, the raw model is shaped further with **post-training** to make it follow instructions and stay safe. To use the model in production, you al...
Chip Huyen, AI Engineering — Chapter 1: Why AI Engineering Exists as a Discipline 27.04.2026 19:40
For most of the last decade, building anything intelligent meant collecting data, training a model, and shipping it. Foundation models broke that loop. Now most teams **consume** rather than **train** — and the new craft is everything wrapped around the API call. That craft, AI engineering, is a different discipline from ML engineering, with different skills, different bottlenecks, and different c...
Lignende podkaster
Replaio er ikke podkastutgiver; programnavn, omslag og lyd tilhører opphavspersonene og distribueres via offentlige RSS-feeder.