practice a little every day, paws crossed ♡
Data Scientist Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 181–210 of 1971 results
- AmazonHardData ScientistValidate DID and IV assumptions rigorously
This question evaluates mastery of causal inference and applied econometrics, specifically difference-in-differences, two-way fixed effects, staggered adoption and treatment heterogeneity, instrumental variables (2SLS), clustering, and GMM-based inference.
Statistics & MathHR Screen - AmazonMediumData ScientistVerify subscriptions and analyze orders with SQL/Python
This question evaluates proficiency in SQL and pandas data manipulation, covering data-quality validation, temporal sequence reasoning, deduplication, deterministic aggregation, and tie-breaking logic.
Data Manipulation (SQL/Python)Technical Screen - AmazonEasyData ScientistWalk through an A/B test end-to-end
This question evaluates a data scientist's competencies in experimental design, statistical inference, causal reasoning, metric selection, and data quality assurance for A/B testing.
Analytics & ExperimentationTechnical Screen - AmazonMediumData ScientistWrite and explain gradient descent pseudocode
This question evaluates a candidate's understanding of batch gradient descent for linear regression with an intercept, covering concepts such as mean squared error optimization, vectorized matrix operations, analytical gradient computation, learning rate schedules, stopping criteria, feature scaling, and L2 regularization.
Machine LearningOnsite - AnthropicMediumData ScientistDescribe a New Measurement That Changed a Business Decision
Prepare a behavioral answer about creating a business metric, validating its definition, and demonstrating decision impact.
Behavioral & LeadershipHR Screen - AnthropicMediumData ScientistTell Me About a Metric You Built That Changed a Real Decision
A behavioral prompt asking the candidate to walk through a time they invented or redefined a metric, prove it was measuring the right thing, and show it actually changed what the business did next.
Behavioral & LeadershipHR Screenbehavioralmetricscommunication - AppleHardData ScientistChoose Optimal Network Retry Threshold
This question evaluates competence in statistical analysis, experimental design, and decision-making under trade-offs between playback reliability and battery or radio power consumption.
Analytics & ExperimentationOnsite - AppleMediumData ScientistClarify status, education, and multi-role strategy
This question evaluates a candidate's ability to document and communicate U.S. work authorization details, resolve resume inconsistencies, articulate multi-level role positioning, and demonstrate minicase availability and preparation—assessing attention to detail, clarity of communication, stakeholder coordination, and practical readiness for data-science interviews. Commonly asked in Behavioral & Leadership screens for Data Scientist roles to verify eligibility, alignment with role expectations, and logistical readiness, it tests both conceptual understanding of career-leveling and contingency planning and practical application of documentation, messaging, and time-management.
Behavioral & LeadershipHR Screen - AppleMediumData ScientistCompare Normal and Poisson Distributions in Statistics
Evaluates statistical understanding of Normal and Poisson distributions for counts and continuous measurements. Strong answers compare support, parameters, use cases, Normal approximation conditions, and mean-variance derivations.
Statistics & MathTechnical Screen - AppleMediumData ScientistCompare Normal vs Poisson; test dispersion and approximate tails
This question evaluates a data scientist's competency in statistical inference for count data, covering MLE and asymptotic variance estimation, Wald confidence intervals, tests for equidispersion versus overdispersion, Normal approximation with continuity correction for Poisson tails, and model selection diagnostics.
Statistics & MathTechnical Screen - AppleHardData ScientistCompute optimal matrix-chain multiplication order
This question evaluates dynamic programming, algorithmic analysis, and sensitivity reasoning for matrix-chain multiplication, and it belongs to the Coding & Algorithms domain; it is commonly asked because it tests understanding of optimal substructure, trade-offs in parenthesization, and correctness versus greedy heuristics.
Coding & AlgorithmsOnsite - AppleMediumData ScientistConstruct a Churn-Prediction Pipeline Using Scikit-Learn
This question tests practical machine learning engineering skills, specifically the ability to construct an end-to-end classification pipeline for imbalanced tabular data. It evaluates knowledge of preprocessing, model validation, probability calibration, and production packaging — core competencies assessed in data scientist interviews.
Machine LearningTechnical Screen - AppleMediumData ScientistDescribe Your Role in a Recent Successful Project
This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Describe Your Role in a Recent Successful Project states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipTechnical Screen - AppleMediumData ScientistDesign A/B Test for Search Feature Effectiveness
This interview question evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer for Design A/B Test for Search Feature Effectiveness states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Analytics & ExperimentationTechnical Screen - AppleMediumData ScientistDesign Siri-vs-GPT query routing
This question evaluates a data scientist's competency in designing an end-to-end query-routing system between an on-device personal assistant and a large language model assistant, encompassing objectives, success metrics, ground-truth labeling, feature and model choices, ambiguity and multi-turn handling, and evaluation strategies.
Machine LearningTechnical Screen - AppleMediumData ScientistDesign an A/B Test for Homepage Layout Impact
This interview question evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer for Design an A/B Test for Homepage Layout Impact states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Analytics & ExperimentationOnsite - AppleMediumData ScientistDiagnose post-release conversion regression rigorously
This question tests the ability to diagnose a post-release metric regression in the absence of a control group by utilizing quasi-experimental design and causal inference methods.
Analytics & ExperimentationTechnical ScreenCausal InferenceRoot Cause AnalysisExperimentation - AppleMediumData ScientistDifferentiate P-value and Confidence Interval in Statistics
This interview question evaluates statistical assumptions, formulas, estimation strategy, uncertainty, edge cases, and interpretation in a realistic interview setting. A strong answer for Differentiate P-value and Confidence Interval in Statistics states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Statistics & MathOnsite - AppleHardData ScientistEvaluate a model and choose metrics
This question evaluates a data scientist's competency in cost-sensitive model evaluation, handling extreme class imbalance, calibration and threshold derivation, experiment design, and post-launch monitoring and fairness within the Analytics & Experimentation domain.
Analytics & ExperimentationOnsite - AppleMediumData ScientistExamine Data to Boost Instagram Purchases Effectively
This interview question evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer for Examine Data to Boost Instagram Purchases Effectively states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Analytics & ExperimentationTechnical Screen - AppleMediumData ScientistExplain CNN shapes, params, and trade-offs
This question tests your ability to calculate output dimensions, parameter counts, and computational costs (FLOPs/MACs) in CNNs, while requiring you to justify architectural choices like depthwise convolutions and normalization layers.
Machine LearningOnsiteCNNDeep LearningModel Architecture - AppleMediumData ScientistExplain Your Motivation and Alignment with Apple Values
This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Explain Your Motivation and Alignment with Apple Values states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipOnsite - AppleMediumData ScientistFind Maximum Sum of Contiguous Subarray Length k
This question evaluates skill in array manipulation and computing aggregate metrics over fixed-length intervals, along with understanding of algorithmic complexity and trade-offs between runtime and memory.
Coding & AlgorithmsTechnical Screen - AppleMediumData ScientistFind Smallest Missing Positive Integer in O(n) Time
This question evaluates a candidate's skill in array algorithms and in-place algorithm design, emphasizing understanding of time and space complexity and handling edge cases when identifying the smallest missing positive integer.
Coding & AlgorithmsOnsite - AppleHardData ScientistHandle conflict, priorities, and harsh clients
This English summary evaluates conflict resolution, stakeholder management, technical judgment in model selection, risk assessment, escalation, and documentation skills within a Data Scientist role, testing Behavioral & Leadership competencies in a cross-functional, client-facing context.
Behavioral & LeadershipOnsite - AppleEasyData ScientistHow would you critique this regression?
An Apple Data Scientist technical-screen statistics question that asks you to critique another analyst's linear-regression workflow for modeling website dwell time. It tests OLS assumptions (and why marginal normality of Y is not one of them), model-selection and overfitting bias from exhaustive interaction search, diagnostics and validation, and the distinction between prediction, inference, and causal goals on skewed outcome data.
Statistics & MathTechnical Screen - AppleHardData ScientistImplement random forest with OOB and imbalance
This question evaluates expertise in implementing and engineering a memory- and compute-efficient Random Forest for binary classification, covering ensemble methods, CART/Gini impurity, OOB evaluation and calibration, class-imbalance handling, reproducibility, parallel and thread-safe system design, and streaming/warm-start model updates.
Machine LearningOnsite - AppleMediumData ScientistRemove shortest subarray to sort array
This question evaluates proficiency in array algorithms, algorithmic efficiency (linear time and constant-space reasoning), and handling edge cases related to non-decreasing order, within the Coding & Algorithms domain.
Coding & AlgorithmsOnsite - AppleEasyData ScientistWrite queries to compute salary and budget stats
This set of tasks evaluates data manipulation and analytical competencies, specifically the ability to compute order-statistics on numeric columns, perform relational joins to enrich event records, and reason about constrained selection for maximizing hires using SQL and pandas.
Data Manipulation (SQL/Python)Onsite - AqrMediumData ScientistAutopilot a Thruster Drone Through Randomized Canyon Walls
Write a per-tick controller that fires a drone's thruster so it clears wall openings on unseen, randomized canyons. Tests modeling deterministic physics, depth-limited lookahead search, and choosing a horizon that generalizes.
Software Engineering FundamentalsOnline Assessmentsimulationsearchgame-ai