InterviewDB Question · Los Angeles

Gamepad Input Tracker: Parse and Replay Gamepad Input Sequences with Timing

Question Details

Problem Design a GamepadTracker that records sequences of button/axis inputs with timestamps and can replay them to check whether a recorded combo was input within a timing window. Support: Example Follow-ups How do you handle axis inputs where the value must exceed a threshold (e.g., joystick > 0.8)? What data structure enables efficient sliding-window combo detection as new events arrive? How would you extend this to support approximate matching (one missed input allowed)?

Full Details

🔒

Unlock all Jane Street questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a jane street interview during the phone round.

It covers the following topics: Sliding Window, Coding, Phone, Onsite .