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.

HardTechnical
56 practiced

Demand counts across zones are heavy-tailed and have occasional extreme peaks. Which loss functions and transformations would you consider when training a supervised model (e.g., XGBoost) to forecast counts? Discuss pros/cons of log-transform, Poisson/negative-binomial objectives, and Huber loss.

HardTechnical
52 practiced

Explain how Transformer-based models have been adapted for time-series forecasting (examples: Temporal Fusion Transformer, Informer, Autoformer). Describe how attention enables long-range dependency modeling, how static and time-varying covariates are integrated, and trade-offs in training complexity, interpretability, and performance versus RNNs and classic statistical models.

HardSystem Design
66 practiced

Propose a practical pipeline to scale forecasting across 10,000 SKUs where many SKUs have short or sparse histories. Include model selection strategy (global vs local), grouping/clustering of SKUs, feature store considerations for offline and online features, monitoring, and prioritization for manual review. Mention cost and compute trade-offs.

EasyTechnical
72 practiced

Explain the ARIMA model components: AR(p), I(d), MA(q). For each component give intuition about what it captures, how you would identify appropriate orders using ACF/PACF and stationarity tests, and when to include seasonal terms (SARIMA).

MediumTechnical
72 practiced

For intermittent demand across many SKUs, classic RMSE and MAPE perform poorly. Propose a set of evaluation metrics and modeling approaches (including Croston, TSB, and probabilistic methods) appropriate for intermittent data and explain how you would aggregate the metrics across SKUs for business reporting.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.