Compute a Moving Average from a Data Stream
Company: Squarepoint
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: Compute moving averages from a stream with a bounded queue and running sum, handling warm-up, oldest-value eviction, and numeric precision correctly.