Tech Interview Questions

Practice 9,031+ 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.0k Questions 486 Companies08.11.2026
Showing 20 results
Role
Apple logo
Apple
Medium
Machine Learning Engineer

Optimize image filters on device

You are shipping an image-filter feature that must run entirely on a mobile device. Users expect preview latency below 30 ms on common phones, memory ...

ML System Design
4
0
78 people solved
Mar 1, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer Locked

Design hierarchical product classification

This question evaluates a candidate's ability to design end-to-end machine learning systems for hierarchical product classification, covering competen...

ML System Design
7
0
124 people solved
Mar 1, 2026
Uber logo
Uber
Medium
Machine Learning Engineer

Design a feed ranking system

Design a machine-learning-based feed ranking system for a consumer product. The system should rank candidate posts or items for a user's home feed in ...

ML System Design
10
0
198 people solved
Mar 1, 2026
Atlassian logo
Atlassian
Hard
Machine Learning Engineer Locked

Find a secret word using match feedback

This question evaluates algorithmic problem-solving, combinatorial reasoning, and information-theoretic search strategies for narrowing a secret from ...

Coding & Algorithms
6
0
84 people solved
Mar 1, 2026
Ramp logo
Ramp
Medium
Software Engineer

Build a Wordle-style game in React

Task Implement a simplified Wordle-style game as a small React app. No styling/CSS is required (plain HTML output is fine). Game rules (assume Wordle-...

Coding & Algorithms
14
0
140 people solved
Mar 1, 2026
Citadel logo
Citadel
Hard
Machine Learning Engineer

Make a hard MoE router differentiable

Make a hard MoE router differentiable Differentiable Routing for Mixture-of-Experts (MoE) Context You are working with an MoE layer that routes each t...

Machine Learning
23
0
166 people solved
Jul 15, 2025
TikTok logo
TikTok
Medium
Machine Learning Engineer Locked

Explain FlashAttention, KV cache, and RoPE

This question evaluates understanding of transformer attention optimizations (FlashAttention), autoregressive decoding state management (KV cache), an...

Machine Learning
5
0
94 people solved
Jan 22, 2026
Snapchat logo
Snapchat
Medium
Machine Learning Engineer

Explain CLIP, contrastive losses, and retrieval limits

Answer the following ML questions in the context of multi-modal (text–video/image) retrieval: 1) How does a CLIP-style model work conceptually (archit...

Machine Learning
9
0
116 people solved
Feb 3, 2026
Airbnb logo
Airbnb
Medium
Machine Learning Engineer Locked

Minimum Canisters to Top Up an Exact Target

This question evaluates a candidate's grasp of dynamic programming, specifically the unbounded knapsack (coin change) pattern for finding the minimum ...

Coding & Algorithms
1
0
14 people solved
Jun 22, 2026
Google logo
Google
Easy
Software Engineer Locked

Deterministic Task Execution Order

This question evaluates a candidate's ability to model task dependencies as a directed graph and produce a valid execution order, a core graph algorit...

Coding & Algorithms
2
1
11 people solved
Jun 22, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Design a Hosted Notebook Platform

This question evaluates system design skills around stateful compute orchestration, including control-plane versus data-plane separation, workspace li...

System Design
293
0
3153 people solved
Apr 12, 2026
Anrok logo
Anrok
Medium
Software Engineer

Explain concurrency model preference

Multithreading vs. Callbacks — Experience and Trade-offs Context You are interviewing for a Software Engineer technical screen. The interviewer asks y...

Behavioral & Leadership
21
0
184 people solved
Sep 6, 2025
DoorDash logo
DoorDash
Hard
Software EngineerSenior+

Design review system with voting and rewards

Design a Scalable Product Review System with Voting and Rewards You are designing a reviews feature for a large e-commerce marketplace. Customers can ...

System Design
32
0
333 people solved
Sep 6, 2025
Discord logo
Discord
Medium
Software Engineer

Implement an asyncio-based chat server

Async Chat Server (Python asyncio) Build a TCP chat server using Python's asyncio. The server listens on a given port and serves many concurrent clien...

Coding & Algorithms
42
0
282 people solved
Oct 25, 2025
Apple logo
Apple
Medium
Machine Learning Engineer

Compare audio preprocessing and training

Suppose you are building an audio model for a voice assistant. Compare common audio data preprocessing approaches and explain their trade-offs. For ex...

Machine Learning
10
0
88 people solved
Feb 15, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Describe a Project End-to-End

Walk through one project you worked on in depth. Explain the business problem, your specific role, the technical approach, the main trade-offs, and ho...

Behavioral & Leadership
5
0
91 people solved
Feb 28, 2026
Lila logo
Lila
Medium
Machine Learning Engineer

What kind of coworkers are hard to work with?

Behavioral question: > What kinds of people do you not like working with? Why? Interviewers are looking for maturity, self-awareness, and how you hand...

Behavioral & Leadership
5
0
43 people solved
Jan 9, 2026
Apple logo
Apple
Medium
Machine Learning Engineer

Explain classification lifecycle and CTR modeling

You are interviewing for a Machine Learning Engineer role. Discuss the following machine-learning topics in a structured way: 1. Describe one practica...

Machine Learning
4
0
75 people solved
Dec 17, 2025
Google logo
Google
Medium
Software Engineer

Determine validity after digit-constrained deletions

Determine validity after digit-constrained deletions You're given a string S of length n consisting only of '(' , ')' , and digits '0'–'9'. For every ...

Coding & Algorithms
14
0
158 people solved
Aug 8, 2025
DoorDash logo
DoorDash
Hard
Data Scientist

Design an experiment for order batching

Experiment Design: Two-Order Batching Policy During Peak Hours Context DoorDash plans to test a dispatch policy that allows a dasher to pick up two ne...

Analytics & Experimentation
12
0
163 people solved
Oct 13, 2025