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

Loading…