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
OpenAI logo
OpenAI
Easy
Data Scientist

Compute signup rate and retention from raw logs

Scenario You are analyzing an A/B test for a marketing campaign offering a free 1-month trial. You are given raw “upstream” tables that resemble produ...

Data Manipulation (SQL/Python)
3
0
33 people solved
Oct 4, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Explain parallelism and collectives in training

Parallelism strategies and communication in large-scale training You are designing a distributed training setup for very large neural networks that ca...

ML System Design
8
0
87 people solved
Dec 8, 2025
Exoduspoint logo
Exoduspoint
Medium
Software Engineer

Find minimal time for four people crossing

Assume there are four people who need to cross a narrow bridge at night using a single flashlight. - Each person \(i\) requires a different, known amo...

Coding & Algorithms
5
0
77 people solved
Dec 8, 2025
Google logo
Google
Medium
Software Engineer

Describe a major challenge you faced

In a behavioral interview for a software engineering or technical role, you are asked: > Describe the most significant challenge you have faced in an ...

Behavioral & Leadership
5
0
62 people solved
Dec 8, 2025
Rippling logo
Rippling
Medium
Software Engineer

Find minimum of unknown convex function

You are given access to an unknown univariate convex function \(f(x)\) defined on a closed interval \([L, R]\) on the real line. - You cannot see the ...

Machine Learning
7
0
114 people solved
Dec 8, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Design an LLM quality validation system

You are asked to design an end-to-end LLM quality validation system for a team that trains and serves large language models. The goal is to automatica...

ML System Design
6
0
106 people solved
Dec 8, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Explain Transformers and MoE in LLMs

You are interviewing for a role working with large language models (LLMs). Explain the following concepts and how they relate to building and scaling ...

Machine Learning
12
0
83 people solved
Dec 8, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

How would you optimize large-scale training/inference?

This question evaluates a candidate's skills in ML system design, GPU/CUDA performance engineering, and distributed training and inference optimizatio...

ML System Design
10
0
97 people solved
Jan 14, 2026
Coinbase logo
Coinbase
Medium
Software Engineer

Describe cross-team collaboration on past projects

In a behavioral interview with an engineering manager, you are asked to discuss your previous project experience, with a particular focus on cross-tea...

Behavioral & Leadership
8
0
80 people solved
Dec 8, 2025
Google logo
Google
Hard
Machine Learning Engineer

Describe conflict and failure using STAR framework

You are in a behavioral interview for a software/ML engineering role. The interviewer asks you to: 1. Describe a time you faced a significant conflict...

Behavioral & Leadership
13
0
157 people solved
Dec 8, 2025
Anthropic logo
Anthropic
Medium
Machine Learning Engineer

Optimize MapReduce performance

Optimize MapReduce for Parallel Efficiency and Network Utilization You are designing a large-scale batch processing job (e.g., feature extraction, log...

System Design
28
0
488 people solved
Aug 4, 2025
Shopify logo
Shopify
Easy
Data Scientist

Deep dive a technical project and its impact

Describe one technical project you led or significantly contributed to (DS/analytics/ML/engineering). The interviewer wants both a high-level story an...

Behavioral & Leadership
11
0
116 people solved
Nov 21, 2025
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Design an Event Booking System

This question evaluates system architecture, distributed systems, data modeling, concurrency control for seat inventory, transactional integrity for b...

System Design
3
0
57 people solved
Feb 22, 2026
LinkedIn logo
LinkedIn
Medium
Software EngineerSenior+ Locked

Design a metrics platform without alerting

This question evaluates a candidate's ability to design a scalable time-series metrics platform, covering data modeling for counters/gauges/histograms...

System Design
16
0
175 people solved
Dec 26, 2025
Rippling logo
Rippling
Medium
Software Engineer Locked

Implement an In-Memory File System

This question evaluates understanding of file-system abstractions, tree-based data structures, path parsing, and stateful directory and file managemen...

Coding & Algorithms
1
1
19 people solved
May 30, 2026
Upstart logo
Upstart
Medium
Software EngineerSenior+ Locked

Find Maximum Eastbound City Visits and Parse CSV

The first problem evaluates algorithmic reasoning about ordering constraints and subsequence selection, testing skills in sequence algorithms, multidi...

Coding & Algorithms
2
0
18 people solved
May 30, 2026
Mercor logo
Mercor
Medium
Machine Learning Engineer Locked

Implement a Referral Network

This question evaluates skills in modeling and manipulating directed acyclic graphs, implementing graph-based ranking metrics (reachability and flow c...

Coding & Algorithms
3
0
38 people solved
May 2, 2026
Amazon logo
Amazon
Easy
Software Engineer Locked

Find Unique Target-Sum Pairs

This question evaluates array-processing skills, correctness in handling duplicate values, and the ability to identify unique value pairs whose sums m...

Coding & Algorithms
2
0
25 people solved
May 2, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Design RAG Retrieval for Data Assets

This question evaluates skills in designing hybrid retrieval pipelines over enterprise metadata, including competencies in information retrieval, exac...

ML System Design
37
0
378 people solved
May 2, 2026
Visa logo
Visa
Medium
Machine Learning Engineer

Answer RAG, Transformer, And Fraud Metric Fundamentals

Prepare for a machine learning interview that asks rapid conceptual questions about retrieval-augmented generation, neural network architectures, and ...

Machine Learning
1
0
16 people solved
Apr 7, 2026