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
Bytedance logo
Bytedance
Hard
Data ScientistNew Grad

How to deploy and tune multimodal models?

Question You are interviewing for a new-grad machine learning / data scientist role at ByteDance. Answer the following related machine-learning and LL...

Machine Learning
10
0
74 people solved
Jan 10, 2026
Hudson logo
Hudson
Medium
Data Scientist Locked

Solve Dice Probability and Matrix Questions

This question evaluates probability reasoning for modular distributions of sums of independent dice and linear algebra competency regarding matrices w...

Machine Learning
2
0
26 people solved
May 28, 2026
Meta logo
Meta
Hard
Data Scientist

How would you evaluate stolen-post detection?

You are interviewing for a Meta DSA (product analytics / data science) role. The product team is launching a new Stolen Post Detection algorithm that ...

Analytics & Experimentation
110
2
1035 people solved
Mar 5, 2026
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
159 people solved
Aug 8, 2025
Google logo
Google
Medium
Machine Learning Engineer

Answer conflict, failure, and proud project questions

Behavioral questions Answer the following behavioral prompts using real examples from your experience: 1. Conflict: Tell me about a time you had a con...

Behavioral & Leadership
6
0
90 people solved
Jan 22, 2026
Ramp logo
Ramp
Medium
Software Engineer Locked

Design a banking system with payments and merging

This question evaluates competency in large-scale system design for financial backends, covering distributed transactions, consistency and idempotency...

System Design
102
0
717 people solved
Jan 22, 2026
Airbnb logo
Airbnb
Hard
Software Engineer Locked

Design a real-time chat system with hot groups

This question evaluates system design and real-time distributed systems skills, including designing scalable chat architectures that support 1:1 and g...

System Design
77
0
535 people solved
Jan 22, 2026
Harvey logo
Harvey
Medium
Software Engineer

Design Spreadsheet Formula Cells

Design an in-memory spreadsheet that supports assigning either literal integer values or formulas to cells. Cells are identified by names such as A1, ...

Coding & Algorithms
3
0
40 people solved
Apr 4, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Generate all strings by expanding wildcards

Problem Given a string s consisting only of characters '0', '1', and '', replace every '' with either '0' or '1' and return all possible resulting bin...

Coding & Algorithms
17
1
144 people solved
Dec 15, 2025
Capital One logo
Capital One
Medium
Machine Learning Engineer

Return all root-to-leaf tree paths

Given the root of a binary tree, return all root-to-leaf paths. - A leaf is a node with no children. - A path should be represented as a string with n...

Coding & Algorithms
11
0
82 people solved
Dec 15, 2025
Pinterest logo
Pinterest
Easy
Machine Learning Engineer

Explain learning-rate fluctuation and vanishing gradients

ML Fundamentals Answer the following conceptual questions: 1. Learning rate vs. training stability: Why can training metrics (loss/accuracy) fluctuate...

Machine Learning
10
0
107 people solved
Dec 15, 2025
Apple logo
Apple
Hard
Software Engineer

Implement multi-head self-attention correctly

Implement Multi-Head Self-Attention (from scratch) Context You are given an input tensor X with shape (batch_size, seq_len, d_model). Implement a mult...

Machine Learning
26
0
329 people solved
Sep 6, 2025
Meta logo
Meta
Hard
Machine Learning Engineer

Design a scalable MoE pretraining pipeline

Design a Large-Scale MoE Pretraining Pipeline (Bilingual LLM, 1T Tokens, 256×A100-80GB) Context You are designing a pretraining pipeline for a decoder...

ML System Design
21
0
160 people solved
Sep 6, 2025
Whatnot logo
Whatnot
Hard
Software Engineer

Remove All Adjacent Duplicate Pairs

Remove All Adjacent Duplicate Pairs Given a string s, repeatedly remove pairs of equal adjacent characters. A removal can make a new equal pair adjace...

Coding & Algorithms
1
0
12 people solved
Jul 14, 2026
LinkedIn logo
LinkedIn
Medium
Machine Learning Engineer

Plan and lead a large recommendation project

You are given a recommendation design problem, but the interviewer focuses on leadership and execution rather than detailed modeling. Explain how you ...

Behavioral & Leadership
7
0
71 people solved
Feb 18, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer

Build model to predict package delivery time

You are building an ML model to predict package delivery time (ETA) for shipments. Given historical shipping data (order created time, origin/destinat...

Machine Learning
16
0
146 people solved
Feb 18, 2026
TikTok logo
TikTok
Easy
Data Scientist

Design multimodal deployment under compute limits

You need to answer a set of questions related to multimodal model deployment and post-training optimization in an interview. Provide systematic explan...

Machine Learning
20
0
183 people solved
Feb 17, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Design a company-wide monitoring system

You are asked to design a monitoring system used company-wide. Goals - Collect and query telemetry for many services/hosts - Support alerting and dash...

System Design
9
0
143 people solved
Nov 21, 2025
Discord logo
Discord
Hard
Software Engineer

Walk through your background and proud project

Interview prompts (behavioral) 1. Walk me through your background and experience. - Focus on roles, scope, impact, and how your experience relates ...

Behavioral & Leadership
12
0
107 people solved
Feb 4, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Find Minimum Rooms Needed

This question evaluates understanding of interval scheduling and conflict detection in time ranges, along with algorithmic reasoning and appropriate d...

Coding & Algorithms
168
1
1403 people solved
Mar 19, 2026