Maintain a Fixed-Window Rolling Mean in Constant Time

Read the full interview experience this question came from →

Quick Overview

Implement `rolling_means(values, window)` for signed integer values, returning a double-precision mean for every complete consecutive window. Work through the function contract, boundary cases, correctness argument, and time and space complexity expected in a production-quality solution.

Maintain a Fixed-Window Rolling Mean in Constant Time

Company: Jump Trading

Role: Quantitative Researcher

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

Overview: Implement `rolling_means(values, window)` for signed integer values, returning a double-precision mean for every complete consecutive window. Work through the function contract, boundary cases, correctness argument, and time and space complexity expected in a production-quality solution.

Read the full Jump Trading Quantitative Researcher interview experience this question came from

|Home/Coding & Algorithms/Jump Trading
Jump Trading logo
Jump Trading
Aug 8, 2026
mediumQuantitative ResearcherOnsiteCoding & Algorithms
2
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...