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
LinkedIn logo
LinkedIn
Medium
Data Scientist

How do you lead and drive impact?

You are interviewing for a senior or tech-lead data scientist role. Prepare to answer the following behavioral prompts with concrete examples from you...

Behavioral & Leadership
4
0
53 people solved
Oct 12, 2025
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Design LLM search handling long token inputs

Design an LLM-powered search and question-answering system over a large corpus of documents such as internal wikis, PDFs, logs, contracts, and web pag...

ML System Design
17
0
175 people solved
Apr 6, 2025
Meta logo
Meta
Medium
Machine Learning Engineer AI Locked

Build Friend Recommendations

This question evaluates proficiency with graph data structures, set operations, uniform random sampling, counting mutual connections, and deterministi...

Coding & Algorithms
5
0
46 people solved
Feb 8, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Design a Column-Queryable KV Database

This question evaluates understanding of distributed storage architectures, secondary indexing and queryability for sparse, column-oriented key-value ...

System Design
2
0
40 people solved
Feb 8, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Design and implement an LRU cache

This question evaluates knowledge of data structures, algorithmic design, API design, and memory/resource management required to implement an efficien...

Coding & Algorithms
8
0
112 people solved
Feb 8, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Review a PR for thread-safe request handling

This question evaluates understanding of thread-safety and concurrent programming, safe object and API design (immutability versus shared mutable stat...

Software Engineering Fundamentals
15
0
184 people solved
Feb 8, 2026
Molocoads logo
Molocoads
Medium
Machine Learning EngineerIntern

Simulate bubble elimination and maximize common prefix

You are given two independent coding tasks (as in a multi-question OA). Solve each. Task A — Grid “bubble/candy” elimination simulation You are given ...

Coding & Algorithms
7
0
77 people solved
Dec 27, 2025
OpenAI logo
OpenAI
Hard
Software Engineer

Design an End-to-End ML System

Design an End-to-End ML System System Design: Real-Time Recommendation ML System Context You are tasked with designing an end-to-end machine-learning ...

ML System Design
9
0
112 people solved
Aug 4, 2025
Pinterest logo
Pinterest
Hard
Data Scientist

Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform

Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform Rapid ML Fundamentals Check — Recommender Systems Context You are intervie...

Machine Learning
10
0
66 people solved
Aug 4, 2025
Netflix logo
Netflix
Medium
Data Scientist

Design Real-Time Fraud Detection with XGBoost Model

Design Real-Time Fraud Detection with XGBoost Model Real-Time Fraud Detection with XGBoost (Subscription Payments) Scenario You need to build and oper...

Machine Learning
15
0
114 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Explain Your Motivation for Career Transition and Role Interest

Explain Your Motivation for Career Transition and Role Interest Behavioral Phone Screen — Data Scientist Context You’re in a recruiter/technical phone...

Behavioral & Leadership
5
0
46 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Derive Probability of Even Sum in Bernoulli Trials

Derive Probability of Even Sum in Bernoulli Trials Probability Puzzles: Parity and Runs Context You are given two independent probability problems com...

Statistics & Math
4
0
71 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Easy
Data Scientist

Train GradientBoostingClassifier with 5-Fold Cross-Validation

Train GradientBoostingClassifier with 5-Fold Cross-Validation Final Model Training: GradientBoostingClassifier with 5-Fold CV Context Assume the noteb...

Machine Learning
6
0
50 people solved
Aug 4, 2025
DoorDash logo
DoorDash
Medium
Data Scientist

Forecast and Analyze DoorDash Menu Price Inflation Gap

Forecast and Analyze DoorDash Menu Price Inflation Gap DoorDash wants to understand and forecast the difference between on-platform menu prices and th...

Statistics & Math
9
0
90 people solved
Aug 4, 2025
DoorDash logo
DoorDash
Hard
Data Scientist

Evaluate Account-Partner Onboarding with Success Metrics

Evaluate Account-Partner Onboarding with Success Metrics Scenario DoorDash's account-partner team acquires new merchants onto the marketplace, and lea...

Analytics & Experimentation
87
0
264 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Evaluate and Experiment with Harmful Content Detection Model

Evaluate and Experiment with Harmful Content Detection Model Evaluating a Harmful-Content Detection Model: Offline and Online Context You are given a ...

Machine Learning
76
0
153 people solved
Aug 4, 2025
Amazon logo
Amazon
Hard
Data Scientist

Design A/B Test for New Amazon Recommendation Module

Design A/B Test for New Amazon Recommendation Module A/B Test Design: Home Page Recommendation Module Scenario Amazon plans to introduce a new product...

Analytics & Experimentation
105
0
329 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data ScientistSenior+

Assess Amazon Leadership Principles in Behavioral Interviews

Assess Amazon Leadership Principles in Behavioral Interviews Scenario Amazon Data Scientist (often L5) onsite — the Leadership Principles (LP) behavio...

Behavioral & Leadership
62
0
260 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Master Behavioral Interview Questions for Data/ML Roles

Master Behavioral Interview Questions for Data/ML Roles Behavioral & Leadership Interview (Data Scientist Onsite) Context You are preparing for an ons...

Behavioral & Leadership
17
0
72 people solved
Aug 4, 2025
Akuna Capital logo
Akuna Capital
Hard
Software Engineer

Maximize Distinct Values with Cross-Array Swaps

Maximize Distinct Values with Cross-Array Swaps Given arrays a and b of equal length and an integer k, perform at most k swaps. Each swap chooses one ...

Coding & Algorithms
0
0
1 people solved
May 24, 2026