Adobe logoAdobe
CodingMembers

Smallest Heater Radius to Cover All Houses

Members only

An onsite coding problem about covering points on a line with a fixed set of sources that all share one reach. The challenge is choosing a clean way to reason about distance to the nearest source while keeping cost well below pairwise comparison.

SWE
binary-search
sorting
array
two-pointer
medium
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 7 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...