Day 76 of 133
Reasoning models (o1/o3, Claude thinking) + DSA Intervals
Test-time compute; CoT vs ToT vs self-consistency.
DSA · NeetCode Intervals
- Insert IntervalDSA · Intervals
Interview questions to prep
- Do you sort by start or by end? Defend the choice based on the invariant you need.
- Walk through merge / overlap detection: what's your condition for 'overlapping'?
- How does complexity break down: O(n log n) sort + O(n) sweep — can you do better in any case?
- Merge IntervalsDSA · Intervals
Interview questions to prep
- Why sort by start (not end) for THIS problem — and contrast with non-overlapping-intervals.
- How does this scale if intervals stream in unsorted?
GenAI · Reasoning models (o1, o3, thinking)
Interview questions to prep
- How do reasoning models like o1 differ from standard chat LLMs?
- When are reasoning models worth their cost, and when are they overkill?
Interview questions to prep
- What does test-time compute scaling buy you over training-time compute?
- When does extended thinking actually hurt — what tasks does it slow down without quality gains?
- Why is longer reasoning output not the same thing as better reasoning?
- How would you compare self-consistency against selecting generations by a reasoning-quality signal such as deep-thinking ratio?
- If you could reject weak reasoning samples after the first 50 tokens, how would that change inference cost and quality?
Interview questions to prep
- Compare CoT vs ToT vs self-consistency — when does each help?
- Why does self-consistency improve reasoning, and when does it fail?
References & further reading