Simulate Players Moving Under a Watcher's Gaze
Company: Hudson River Trading
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: Simulate players advancing along a road while a moving watcher periodically reverses direction and freezes observed players. Follow the exact discrete-time event order, handle boundary positions and unsorted flips, and discuss performance when both the player count and time limit are large.
Read the full Hudson River Trading Software Engineer interview experience this question came from