InterviewStack.io LogoInterviewStack.io

Forecasting and Time-Series Analysis Questions

Analyzing and projecting data that moves over time. Covers trend and seasonality decomposition, forecasting approaches, demand modeling, and anomaly detection on time series. Emphasizes reasoning about baselines, drivers, and forecast reliability.

HardSystem Design
62 practiced

Architect a low-latency forecasting service that must serve per-zone 15-minute demand predictions on request for 10k zones with 500 QPS and 100ms p95 latency. Describe overall architecture (model store, feature store, online features, caching), how you would serve batched predictions, and strategies for availability and rollback.

MediumTechnical
62 practiced

Define Exponentially Weighted Moving Average (EWMA) and provide the recursive update formula. Explain how the smoothing factor alpha controls responsiveness versus noise reduction and give an example heuristic for choosing alpha when you want to detect a sudden 10% drop in conversion rate.

MediumTechnical
61 practiced

Write pseudocode or Python code to detect anomalies (spikes or drops) in a Daily Active Users time series using seasonal decomposition and Median Absolute Deviation (MAD) on residuals. Explain how you would select thresholds to control false positives and how to handle known holidays or seasonal events.

EasyTechnical
89 practiced

Explain the Holt-Winters (triple exponential smoothing) method for time-series forecasting. Describe its components (level, trend, seasonality), the difference between additive and multiplicative seasonality, how smoothing parameters (alpha, beta, gamma) affect responsiveness, and give business scenarios where Holt-Winters is an appropriate choice.

MediumTechnical
68 practiced

For capacity planning you need to forecast daily viewing hours for a title with strong weekly and monthly seasonality and occasional spikes around releases. Which time-series models would you consider (classical and ML), how would you handle holidays/release events, and how would you evaluate forecast accuracy for planning?

Unlock Full Question Bank

Get access to all 13 Forecasting and Time-Series Analysis interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.