How Many Record Days for Peak Concurrent Users in a Year

Last updated: November 29, 2026

Quick Overview

Suppose each day's peak concurrent users on a Meta service is an independent draw from the same continuous distribution. Over 365 days, how many days do you expect to set a new all-time high (counting day one)?

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

0

0 solved


Suppose each day's peak concurrent users on a Meta service is an independent draw from the same continuous distribution. Over 365 days, how many days do you expect to set a new all-time high (counting day one)?

This record-values puzzle appears in Meta data science interviews to see whether a candidate reaches for symmetry and indicator variables instead of the distribution's shape. It also opens a conversation about why frequent records in real dashboards signal a trend rather than noise.

What the Interviewer Expects
  • Note that day k is a record with probability 1/k by symmetry
  • Sum indicators to get the harmonic number
  • Compute $H_{365} \approx 6.48$
  • Compute the variance
  • Interpret a much larger observed count as evidence of growth
Key Topics to Cover
Record values
Symmetry arguments
Harmonic numbers
Indicator variables
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • What is the variance of the number of records?
  • What is the expected wait after day one until the next record?
  • How would you test whether a growing metric sets more records than iid noise would?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Daily peaks X1,…,X365X_1, \dots, X_{365} are iid continuous, so ties have probability zero. Day kk is a record if Xk>max⁡(X1,…,Xk−1)X_k > \max(X_1, \dots, X_{k-1}). We want E[R]E[R] where RR is the number of records....

Approach

Among the first kk values, each is equally likely to be the largest because the draws are exchangeable. So the record indicator IkI_k has P(Ik=1)=1/kP(I_k = 1) = 1/k, and linearity gives the answer without kn...


Submit Your Answer
Markdown supported