Apple Interview Questions
Master your tech interview with our curated database of real questions from top companies.
Design A/B Test for Search Feature Effectiveness
A/B Testing a Search Button and Measuring Search Quality Scenario A product team wants to evaluate a new search button and ensure search results are h...
Construct a Churn-Prediction Pipeline Using Scikit-Learn
Churn Prediction Pipeline in scikit-learn Scenario You are building a churn prediction model for a subscription business. Churn is defined as whether ...
Compare Normal and Poisson Distributions in Statistics
Modeling Counts vs. Continuous Measurements Scenario You are modeling event counts (e.g., number of clicks) versus continuous measurements (e.g., resp...
Investigate Conversion Drop: Metrics, Analyses, Techniques Explained
Investigating a Conversion Drop After a Feature Release Context A new feature was released on an e-commerce platform. Shortly after, overall checkout ...
Describe Your Role in a Recent Successful Project
Behavioral Question: Recent Project (Data Scientist Phone Screen) Context In a technical phone screen for a Data Scientist role, you'll be asked to wa...
Find Maximum Sum of Contiguous Subarray Length k
Scenario Monitoring website traffic and needing the highest traffic within any fixed-length time window. Question Given an array of positive integers ...
Remove shortest subarray to sort array
Given an integer array nums (length up to 2×10^5), return the shortest subarray [L,R] you can remove so that the remaining elements form a non‑decreas...
Examine Data to Boost Instagram Purchases Effectively
Increasing Instagram In‑App Purchases: Data, Experiments, and Trade‑off Decisions Scenario You are interviewing for a growth analytics role working on...
Improve chip performance without process advances
Assume you are working on a digital chip, but the semiconductor process node and basic device technology are fixed: there is no new, faster process an...
Describe common RTL lint warnings and errors
You are writing RTL (e.g., Verilog/SystemVerilog) and run a lint tool on your code. The tool reports items such as: - "Treat as black box" - Combinati...
Explain use cases for clock synchronizers
Assume you are designing a digital system with multiple clock domains. The clocks have different frequencies and unknown phase relationships. You can ...
Clarify status, education, and multi-role strategy
HR Screen: Candidate Information and Minicase Readiness (Data Scientist) 1) U.S. Work Authorization Provide your current employment/visa status and wo...
Diagnose post-release conversion regression rigorously
On July 15, 2025, version 7.3 was fully rolled out. Daily signup conversion fell from 5.4% (July 1–14 baseline) to 4.9% (July 15–21), while spend and ...
Find longest uniform substring after k replacements
Given a string s (ASCII, length up to 2e5) and integer k (0 ≤ k ≤ |s|), return the length of the longest substring that can be turned into all the sam...
Build leak-safe sklearn model with calibration
You must build an end‑to‑end scikit‑learn pipeline to predict churn_28d at decision time t0 using only features available at or before t0 (no leakage)...
Detect sessions and gaps using SQL LEAD
Write a single ANSI-SQL query that (a) assigns per-user session_ids when the gap between consecutive events exceeds 30 minutes, (b) computes session_s...
Compare Normal vs Poisson; test dispersion and approximate tails
You collect n=200 independent minute-level event counts with sample mean x̄=14.5 and sample variance s²=16.2. 1) Under a Poisson(λ) model, derive the ...
Evaluate a model and choose metrics
Fraud-screening model evaluation under class imbalance and asymmetric costs Context You operate a binary classifier that flags e‑commerce orders for m...
Compute optimal matrix-chain multiplication order
Matrix Chain Multiplication: Optimal Parenthesization and Analysis You are given five matrices to multiply: A1 (10×30), A2 (30×5), A3 (5×60), A4 (60×2...
Implement random forest with OOB and imbalance
Implement a Memory-Efficient Random Forest (Binary Classification) Under Constraints You are asked to design and implement a Random Forest for binary ...