Week 10 · Day 7 · 2026-10-04 SUN · REPAIR · weekly gate

Synthesis and repair: stale facts, reservations, races, observability

08:50-10:55 system design14:30-16:15 Intervals20:30-21:15 recall/mock

今日目标

Synthesize Week 10 into a reusable mechanism map and repair the weakest answer.

08:50-09:00Set target
Name the one Week 10 invariant that failed in mock.
09:00-10:05Repair attempt
Re-answer the weakest prompt without notes, then compare to scorecard.
10:05-10:45Mechanism map
Map location freshness, geospatial partitioning, match uniqueness, driver/inventory reservation, cancellation recovery.
10:45-10:55Spoken close
Final English answer: how to defend correctness during stale location and dispatch races.
14:30-16:15NeetCode Tag · Intervals
Exactly three contiguous slots; each slot is 30m solve + 5m evidence.
20:30-21:15Recall / Mock
20:30-21:15 Final recall: one 90-second Uber answer, one 60-second Tinder transfer, one 60-second Local Delivery transfer.

Live canonical source anchors

Daily anchors retain the original Hello Interview heading text.

今天不新增 Hello Interview 小节;复用 Week 10 已核验 anchors 做 mock 和 repair。

DDIA decision links

今天不新增 DDIA subsection;只复用本周已映射的决策卡。

Algorithm block

SlotProblemPatternInvariantBug riskTimeSpace
19Minimum Interval to Include Each Query
NEW · 30m solve + 5m evidence
offline queries + heapHeap stores intervals whose start <= query; discard end < query.Returning stale heap top.O((n+q) log n)O(n+q)
20Data Stream as Disjoint Intervals
NEW · 30m solve + 5m evidence
online merge neighborsEach number either extends, bridges, or creates one interval.Duplicate number should not split/merge twice.O(log n)O(n)
21Employee Free Time
NEW · 30m solve + 5m evidence
k-list interval mergeCommon free time is the gap between merged busy intervals.Missing first/last unbounded gaps not part of answer.O(n log n)O(n)

Output and repair

DeliverableScorecard completed, production evidence recorded, READY_FOR_REVIEW in Week 10 production record.
Repair ruleDo not open the following week; only repair Week 10 evidence or links if a check fails.
ArtifactsArtifact contract Re-attempt gate
English recallEnglish recall: defend freshness, reservation, race recovery, fairness, and observability without reading notes.
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.