Citadel SecuritiesQuant Researcher InternQuantitative Researcher InternQuestion #50

How do you implement a rolling mean and variance for a data stream in O(1) time per update?

Unlock the Full Solution

Enter your email to get the detailed step-by-step solution to this Citadel Securities interview question, plus access to free interview prep resources.

We'll also send you a free HFT mock interview video.

Get All 57+ Citadel Securities Questions with Solutions

Plus 16+ hours of video lectures, resume tailoring, and 1:1 mentorship from quants.

Schedule a Call