Tech Interview Questions

Practice 9,160+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Machine Learning Engineer + Data Scientist + Software Engineer Interview Questions

Practice the exact questions companies are asking right now.

9.2k Questions 486 Companies08.11.2026
Showing 20 results
Role
Apple logo
Apple
Medium
Software EngineerIntern

Answer OoO, caches, and memory-system questions

You are interviewing for a CPU/DV role. Provide clear explanations (and small worked examples where useful) for the following computer architecture to...

Software Engineering Fundamentals
12
0
141 people solved
Feb 9, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Implement and Test a Sliding-Window Rate Limiter

Implement and Test a Sliding-Window Rate Limiter Design an in-memory limiter with allow(key, timestamp) for a configurable maximum number of requests ...

Software Engineering Fundamentals
0
0
2 people solved
Jun 2, 2026
Google logo
Google
Medium
Software Engineer Locked

Solve Shortest Paths and Rental Allocation

This question evaluates understanding of shortest-path algorithms and reachability in weighted graphs (including directed vs. undirected handling and ...

Coding & Algorithms
6
0
45 people solved
Apr 12, 2026
Capital One logo
Capital One
Medium
Data Scientist

Compute and interpret 95% confidence intervals

Answer all parts. Show formulas and intermediate values. A) An A/B test measures conversion: Variant A has 410 conversions out of 5000 visitors; Varia...

Statistics & Math
6
0
86 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Design pricing and multivariate button experiments

You join a B2B SaaS firm with three public tiers (Basic $25/month, Pro $50/month, Enterprise = sales-quoted). The PM asks for a 2‑week A/B test to rai...

Analytics & Experimentation
10
0
120 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Narrow a confidence interval for a mean

You have a simple random sample with n = 100 and sample mean 100. The current 95% CI for the population mean is 100 ± 10, which a PM says is too wide....

Statistics & Math
11
0
139 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist Locked

Estimate unbiased ad scores with many reviewers

This question evaluates a candidate's skills in hierarchical and mixed-effects modeling, latent-variable estimation, debiasing rater severity and scal...

Statistics & Math
4
0
72 people solved
Oct 13, 2025
Block (Square) logo
Block (Square)
Medium
Data Scientist

Build referral chains and detect cycles

You are given a directed referral graph where each user may have at most one referrer. Input file 'referrals.csv' has columns: user_id (INT), referred...

Coding & Algorithms
10
0
86 people solved
Oct 13, 2025
Lyft logo
Lyft
Medium
Data Scientist

Demonstrate leadership under ambiguity

Describe a time you faced an open-ended, lightly guided interview or project where the counterpart had a strong accent and offered little direction. H...

Behavioral & Leadership
7
0
79 people solved
Oct 13, 2025
Two Sigma logo
Two Sigma
Medium
Data Scientist

Perform no-intercept linear regression from two datasets

You are given two pandas datasets to fit an OLS model without an intercept (through origin). Dataset A (features): df_X(user_id, clicks, impressions)....

Machine Learning
19
0
139 people solved
Oct 13, 2025
Citadel logo
Citadel
Hard
Data Scientist

Diagnose outliers and influence in linear regression

OLS Diagnostics: Outliers, Leverage, Influence, and Cook's Distance Context You are fitting an ordinary least squares (OLS) linear regression with an ...

Machine Learning
7
0
121 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist

Experimentally evaluate jogging-route recommendations

Design an Evaluation for Jogging Route Recommendations in Maps Objective Design an A/B test and evaluation framework for recommending optimal jogging ...

Analytics & Experimentation
11
0
126 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Diagnose a metric drop in search time

Over the last 3 calendar months, the metric 'searching time per user per session' dropped by 35%. A teammate proposes modeling two distributions: T1 =...

Analytics & Experimentation
6
1
82 people solved
Oct 13, 2025
Stripe logo
Stripe
Medium
Data Scientist

Prioritize a 6-hour take-home effectively

You are given a take-home similar to the above with a suggested 6-hour limit but a scope that could take much longer. Describe, concretely, how you wo...

Behavioral & Leadership
2
0
52 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Easy
Data Scientist

Calculate CI and Test Correlation Under Normality

Inference on a Mean, Significance of a Correlation, and a Normal Quantile Assume standard parametric conditions (normality as stated). Show formulas, ...

Statistics & Math
11
0
99 people solved
Oct 13, 2025
Amazon logo
Amazon
Medium
Data Scientist

Build DID panel and compute effects in SQL

Using the schema and toy data below, write SQL to construct a user-week panel and compute a clean pre/post DID dataset for first reminder exposure. Re...

Data Manipulation (SQL/Python)
6
0
108 people solved
Oct 13, 2025
Capital One logo
Capital One
Easy
Data Scientist

Compute incremental profit, breakeven, and revenue sensitivity

Question You are evaluating whether to add a vegan burger line in Year 1. Use the following assumptions (m = million): - Fixed training cost: $60m/yea...

Statistics & Math
8
0
78 people solved
Oct 13, 2025
Microsoft logo
Microsoft
Medium
Data Scientist

Compute sample size and analyze A/B results

A/B Test: Sample Size, Sequential Correction, and Post-Experiment Analysis Context You are planning a two-arm A/B test with a binary (Bernoulli) conve...

Statistics & Math
9
0
88 people solved
Oct 13, 2025
Google logo
Google
Medium
Software Engineer

Find the Largest Monotone Increasing Number

Find the Largest Monotone Increasing Number Problem Given a non-negative integer n, return the largest integer less than or equal to n whose decimal d...

Coding & Algorithms
5
1
18 people solved
Jul 4, 2026
Google logo
Google
Medium
Software Engineer

Check Whether Digits Are Monotone Increasing

Check Whether Digits Are Monotone Increasing Problem A non-negative integer has monotone increasing digits when every adjacent pair of digits is non-d...

Coding & Algorithms
4
0
18 people solved
Jul 4, 2026