WEEK 09 · 2026.09.21-09.27 · WRITER GATE

Day 6 - Yelp TRANSFER: reviews, abuse, geo pagination and mock

2026-09-26 · SAT · 补齐 Yelp deep dives:average rating, one review per business, complex search, named locations, final design and Staff expectations。

今日固定时间表

三个学习窗口必须保持 exactly 08:50-10:55, 14:30-16:15, 20:30-21:15。

08:50-09:2008:50-10:55 system design
Blind reattempt: new review appears on detail page while search/ranking remains moderation-aware.
09:20-10:0508:50-10:55 system design
Read all remaining Yelp deep dives, final design and level expectations.
10:05-10:3508:50-10:55 system design
Live mock pressure: geo boundaries, stable pagination, rating aggregates, abuse signals and business move.
10:35-10:5508:50-10:55 system design
DDIA Ch13 verification: compare source tables, aggregates and search index after backfill.
14:30-16:15NeetCode Graphs
Three contiguous Graphs slots below; no other tag.
20:30-21:15Staff Q&A nodes 12-16, then 20-minute Yelp transfer mock.

算法模块

NeetCode Graphs, exactly three slots today, contiguous slots 16-18 of 21.

#Problem / modePatternInvariantBug riskTimeSpace
16Redundant Connection
Graphs · NEW · 30m solve + 5m evidence
union-find cycle edgefirst edge joining same root is redundantunioning before checking same rootO(E alpha V)O(V)
17Accounts Merge
Graphs · NEW · 30m solve + 5m evidence
union-find by emailall emails connected through an account share a root ownerlosing sorted email outputO(N alpha N + E log E)O(E)
18Pacific Atlantic Review
Graphs · NEW · 30m solve + 5m evidence
reverse reachability reviewheight condition reverses to neighbor height >= currentusing strict > and losing equal-height pathsO(mn)O(mn)

今日产出

必须交付Yelp transfer final mapping plus live mock setup.
修复规则If rating is updated synchronously without moderation, add pending/approved review states and aggregate replay.

Hello Interview 精确目录

使用 live heading 的 original title 和 direct anchor。

项目Level精确 canonical sectionDispositionDay
Yelph2Potential Deep Divestransfer deep diveDay 6
Yelph31) How would you efficiently calculate and update the average rating for businesses to ensure it's readily available in search results?transfer deep diveDay 6
Yelph32) How would you modify your system to ensure that a user can only leave one review per businesstransfer deep diveDay 6
Yelph33) How can you improve search to handle complex queries more efficientlytransfer deep diveDay 6
Yelph34) How would you modify your system to allow searching by predefined location names, such as cities or neighborhoods?transfer deep diveDay 6
Yelph2Final Designtransfer deep diveDay 6
Yelph2What is Expected at Each Level?level expectationDay 6
Yelph3Mid-levellevel expectationDay 6
Yelph3Seniorlevel expectationDay 6
Yelph3Staff+level expectationDay 6

DDIA 精确决策卡

Only DDIA Ch4 and Ch13 decision links are allowed.

DayProjectDecisionLink
Day 6Yelptext plus geo search combines full text retrieval with precise second-pass filtershttps://ddia.vonng.com/ch4/#sec_storage_full_text
Day 6Yelpreview/rating aggregate and search index are derived state that needs verificationhttps://ddia.vonng.com/ch13/#sec_future_verification

Artifacts

PDF is intentionally absent; Week 9 requires MP3 only for the FULL/TRANSFER scripts.

Local study materials
Detailed lecture notes, audio, recall scripts, PDFs, Staff Q&A, and mock packs are archived locally and are intentionally not published on this site.