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
DoorDash logo
DoorDash
Medium
Software Engineer

Compute dasher pay from order event logs

You are given a list of delivery-order event records for a single dasher. Each record contains: - order_id - event_type in {CREATED, ACCEPTED, PICKED_...

Coding & Algorithms
46
0
326 people solved
Jan 14, 2026
Imc logo
Imc
Medium
Data Scientist Locked

Choose optimal posted price under adverse selection

This question evaluates probabilistic reasoning, Bayesian updating, expected-value optimization under asymmetric information, and basic mechanism-desi...

Machine Learning
2
0
52 people solved
Jan 14, 2026
Bytedance logo
Bytedance
Easy
Data Scientist Locked

Explain train-test generalization gap

This question evaluates understanding of model generalization and diagnostic competence within Machine Learning and Data Science, covering overfitting...

Machine Learning
5
0
46 people solved
Mar 9, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

How do you decide with limited information?

Behavioral Question Describe a time you had to make an important decision with incomplete, ambiguous, or conflicting information. Include: - What deci...

Behavioral & Leadership
10
0
84 people solved
Nov 26, 2025
Pinterest logo
Pinterest
Medium
Machine Learning Engineer Locked

Solve five hard algorithm problems

This set of problems evaluates algorithm design and problem-solving skills across array manipulation, range-update techniques, load-balancing and part...

Coding & Algorithms
6
0
87 people solved
Mar 8, 2026
Amazon logo
Amazon
Hard
Software Engineer

Minimize Branch Merge Conflicts

You are given several feature branches that must all be merged into the main branch. Each branch contains a sequence of commits, and each commit modif...

Coding & Algorithms
11
0
179 people solved
Jan 12, 2026
Google logo
Google
Easy
Software Engineer Locked

Implement Memory-Efficient Document Undo/Redo

This question evaluates data structure design and algorithmic reasoning for implementing memory-efficient undo/redo semantics on a key-value document,...

Coding & Algorithms
7
0
61 people solved
Jan 12, 2026
Google logo
Google
Medium
Software EngineerSenior+

Answer Staff-level leadership scenarios using STAR

Behavioral prompts (Staff/L6) Provide structured answers (e.g., STAR) for scenarios like: 1. Most important technical decision you drove: how you deci...

Behavioral & Leadership
6
0
76 people solved
Jan 12, 2026
Meta logo
Meta
Medium
Software EngineerSenior+

How to answer Staff (L6) behavioral interview questions

Staff / L6 “” org-level impact * * - Scope & Impact/// - StakeholdersEM/PM/Infra/Product/ Staff - Options & Trade-offs 2–3 - Influence without Aut...

Behavioral & Leadership
5
0
66 people solved
Jan 12, 2026
Roblox logo
Roblox
Hard
Data Scientist

Normalize features and rank logistic coefficients

You are given a binary classification training dataset: - X: a 2D array of shape (n_samples, n_features) containing numeric features. - feature_names:...

Machine Learning
11
0
83 people solved
Nov 24, 2025
Roblox logo
Roblox
Hard
Data Scientist

Compute DID estimate and pretrend flag

You are given three equal-length arrays describing observations from a panel-like dataset: - period[i] ∈ {0,1}: 0 = pre period, 1 = post period - trea...

Analytics & Experimentation
12
0
94 people solved
Nov 24, 2025
Tools For Humanity logo
Tools For Humanity
Easy
Data Scientist

Detect and evaluate "stolen" posts

You are a Data Scientist at a Twitter-like app. The platform suspects an increase in “stolen posts” (users reposting/plagiarizing others’ content with...

Analytics & Experimentation
7
0
73 people solved
Aug 29, 2025
eBay logo
eBay
Hard
Software EngineerSenior+

Answer senior behavioral questions

For a senior software engineering interview, prepare strong answers to the following leadership and impact questions: 1. Tell me about a time you infl...

Behavioral & Leadership
14
0
94 people solved
Mar 7, 2026
TikTok logo
TikTok
Medium
Software EngineerIntern Locked

Reconstruct a binary tree from traversals

This question evaluates understanding of binary tree traversal properties, data structure manipulation, and algorithmic complexity involved in reconst...

Coding & Algorithms
4
0
34 people solved
Jan 11, 2026
Google logo
Google
Easy
Software Engineer Locked

Design compressed vector and compute dot product

This question evaluates understanding of data structure design, sequence compression concepts (such as run-length patterns), and numeric algorithm eff...

Coding & Algorithms
4
0
83 people solved
Jan 11, 2026
Roblox logo
Roblox
Hard
Data ScientistIntern

Fit logistic regression and return top features

You are given: - X: a 2D numeric array where each row is a feature and each column is an observation (shape: n_features x n_samples). - feature_names:...

Machine Learning
4
0
83 people solved
Nov 23, 2025
Citadel logo
Citadel
Medium
Data Scientist Locked

Explain factor leakage checks and IC/ICIR filtering

This question evaluates competency in factor-based predictive modeling, including detection of information leakage, use of information coefficient (IC...

Machine Learning
4
0
48 people solved
Oct 9, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Count Islands After Land Additions

This question evaluates understanding of dynamic connectivity, incremental graph updates, and algorithmic efficiency when maintaining connected compon...

Coding & Algorithms
1
0
15 people solved
May 11, 2026
Shopify logo
Shopify
Medium
Software Engineer AI

Implement a Word Guessing Game

Implement a four-letter word guessing game. You are given: - A dictionary containing valid four-letter English words. - A target word selected from th...

Coding & Algorithms
3
0
34 people solved
Jan 10, 2026
Autodesk logo
Autodesk
Medium
Machine Learning Engineer

Explain 3D geometry data

Explain 3D geometry data 3D Geometry Data: Representations, Preprocessing, Modeling, and Serving Prompt You are working with 3D geometry data in ML pi...

Machine Learning
10
0
75 people solved
Jul 17, 2025