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
Spotify logo
Spotify
Medium
Machine Learning Engineer

Build Premium User Propensity Model

Design an end-to-end modeling approach to identify free-tier users who are likely to convert to a premium subscription. Discuss: - the business object...

Machine Learning
7
0
93 people solved
Mar 4, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Reverse Nodes in Groups of K

This question evaluates a candidate's ability to manipulate linked list pointers in place, handling in-group reversal while preserving overall structu...

Coding & Algorithms
1
0
17 people solved
Jun 18, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Implement Top-p (Nucleus) Sampling in NumPy

This coding question tests practical implementation of top-p (nucleus) sampling, a core decoding strategy in large language models. It evaluates NumPy...

Coding & Algorithms
0
0
11 people solved
Jun 18, 2026
Meta logo
Meta
Easy
Data Scientist

Evaluate account re-ranking via logs and A/B test

A product has users with multiple accounts. In the UI, these accounts are shown as a list. - Current ranking: accounts are sorted by most recent visit...

Analytics & Experimentation
7
0
64 people solved
Feb 3, 2026
StubHub logo
StubHub
Medium
Software Engineer

Design Event Email System

Design Event Email System Design an event system that can manage at least 1,000,000 concurrent events and send notification emails to every registered...

System Design
42
0
354 people solved
Aug 4, 2025
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
DoorDash logo
DoorDash
Medium
Machine Learning Engineer Locked

Design personalized restaurant search and recommendations

This question evaluates a candidate's expertise in designing scalable, personalized restaurant search and recommendation systems, including system arc...

System Design
37
0
304 people solved
Feb 3, 2026
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Count Candies from Unlockable Boxes

This question evaluates a candidate's understanding of graph traversal, state management, and object-oriented design to determine reachability and res...

Coding & Algorithms
1
1
31 people solved
May 27, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Handle imbalance, sampling, and overfitting

This question evaluates a data scientist's proficiency in machine learning topics including handling class imbalance, selecting and interpreting evalu...

Machine Learning
10
0
103 people solved
Feb 16, 2026
Amazon logo
Amazon
Medium
Software Engineer

Model an Extensible Employee Cost Calculator

Design an object model and calculation API for the total cost of an employee. Total cost has four components: 1. Base salary from the employee record....

Software Engineering Fundamentals
1
0
10 people solved
Feb 2, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

How do you sample uniformly from an infinite stream?

This question evaluates understanding of streaming algorithms, randomized sampling and probability, and algorithmic space–time trade-offs involved in ...

Coding & Algorithms
13
0
129 people solved
Feb 1, 2026
Google logo
Google
Medium
Software EngineerIntern

Answer project deep-dive and Why Google questions

Scenario This round is conversational (no coding). The interviewer asks about: - One or more personal projects (deep dive) - Internship experience and...

Behavioral & Leadership
11
0
93 people solved
Jan 6, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer

Explain virtual machines and concurrency basics

Topics Answer at a senior-engineer depth. Use diagrams or step-by-step reasoning as needed. 1) Virtual machines (VMs) - What is a VM and what problem ...

Software Engineering Fundamentals
21
0
235 people solved
Jan 6, 2026
Meta logo
Meta
Medium
Software Engineer

Return Binary Tree Nodes in Vertical Order

Return Binary Tree Nodes in Vertical Order A binary tree has nodes numbered from 0 through n - 1, with node 0 as the root. Arrays left and right conta...

Coding & Algorithms
0
0
11 people solved
Mar 2, 2026
Meta logo
Meta
Medium
Software Engineer

Resolve a cd Path Against the Current Directory

Resolve a cd Path Against the Current Directory Implement path resolution for a simplified Unix-like cd command. cwd is a normalized absolute path. ar...

Coding & Algorithms
0
0
11 people solved
Mar 2, 2026
Two Sigma logo
Two Sigma
Hard
Software Engineer

Implement an In-Memory Database

Implement a simple in-memory relational database that processes a sequence of tokenized commands. You are given commands: List[List[str]], where each ...

Coding & Algorithms
5
0
44 people solved
Apr 2, 2026
Google logo
Google
Hard
Data Scientist

Infer causal impact without an A/B test

Evaluate Impact of a Shipped Version on Disconnections (No A/B Holdout) Context A new client version was shipped system-wide with the goal of reducing...

Statistics & Math
17
0
132 people solved
Oct 13, 2025
Airbnb logo
Airbnb
Hard
Data Scientist

Estimate impact of global launch without holdout

Causal Lift Plan After a Global Launch Without a Holdout Background A new product feature was launched globally on 2025-05-10, with no control or hold...

Analytics & Experimentation
26
0
214 people solved
Oct 13, 2025
Reddit logo
Reddit
Easy
Data Scientist Locked

Design A/B test for AI chat box

This question evaluates skills in experimental design, product analytics, metrics selection, and causal inference relevant to a Data Scientist role in...

Analytics & Experimentation
8
0
84 people solved
Dec 11, 2025
Databricks logo
Databricks
Medium
Software Engineer Locked

Design a dependency-aware job scheduler

This question evaluates understanding of designing scalable, dependency-aware job schedulers and related competencies in distributed systems, includin...

System Design
14
0
273 people solved
Jan 5, 2026