Data science interviews blend statistics fundamentals, SQL, and applied modeling judgment. This guide covers the questions that come up across most data science and analytics interviews.
Who should use this guide
Candidates for data scientist, data analyst, or applied ML roles.
Statistics and probability
1. What's the difference between Type I and Type II error?
A Type I error is a false positive, rejecting a true null hypothesis. A Type II error is a false negative, failing to reject a false null hypothesis. There's usually a trade-off between the two controlled by your significance threshold.
2. Explain p-value in plain language.
The probability of seeing a result at least as extreme as yours, assuming the null hypothesis is true. A small p-value suggests your observed effect is unlikely to be due to chance alone. It does not measure the probability the null hypothesis itself is true.
SQL and data handling
3. What's the difference between INNER JOIN and LEFT JOIN?
| Join type | Returns |
|---|---|
| INNER JOIN | Only rows with matches in both tables |
| LEFT JOIN | All rows from the left table, matched rows from the right (NULL if none) |
4. How would you detect and handle outliers in a dataset?
Use IQR or z-score thresholds to flag candidates, then investigate before removing anything, an "outlier" is sometimes the most important data point (fraud, a real spike in demand), not noise to discard.
Applied / case questions
5. How would you measure whether a new feature improved engagement?
Design an A/B test with a clear primary metric decided in advance, check for sample ratio mismatch, and run it long enough to cover natural weekly/seasonal cycles before concluding anything.
Frequently Asked Questions
How much coding should I expect in a data science interview?
Usually SQL plus Python/R for data manipulation, algorithmic coding rounds are more common for ML engineering roles than classic data science/analyst roles.
Do I need deep learning knowledge for every data science role?
No, many analytics-leaning roles focus on classical statistics, SQL and experimentation; deep learning depth matters more for applied ML/research-leaning positions.
Final preparation tips
Practice explaining a past analysis to a non-technical audience in under two minutes, communicating results clearly is tested as heavily as the technical method itself.
