Tech Interview Questions

Practice 9,224+ 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.16.2026
Showing 20 results
Role
Meta logo
Meta
Easy
Data Scientist

Determine Probability of Friend Request Being Fake

Determine Probability of Friend Request Being Fake Scenario You operate a platform where 95% of accounts are real and 5% are fake. Fake accounts send ...

Statistics & Math
24
1
95 people solved
Aug 4, 2025
Lyft logo
Lyft
Medium
Data Scientist

Assess Cultural Fit Through Behavioral Interview Questions

Assess Cultural Fit Through Behavioral Interview Questions Onsite Behavioral & Leadership Interview — Data Scientist Scenario - 1-on-1 conversation wi...

Behavioral & Leadership
24
0
78 people solved
Aug 4, 2025
Amazon logo
Amazon
Hard
Data Scientist

Design a Machine Learning Recommendation System Pipeline

Design a Machine Learning Recommendation System Pipeline System Design: End-to-End ML Recommendation System Scenario You are building an end-to-end ma...

Machine Learning
21
0
61 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Describe Handling Unexpected Feedback and Actions Taken

Describe Handling Unexpected Feedback and Actions Taken Behavioral: Resilience After Unexpected Negative Feedback or Rejection Context You are in an o...

Behavioral & Leadership
24
0
77 people solved
Aug 4, 2025
xAI logo
xAI
Medium
Software Engineer Locked

Design a Recoverable Iterator

This question evaluates data-structure and state-management skills, focusing on iterator semantics, snapshotting/restore mechanics, and efficient time...

Coding & Algorithms
3
0
35 people solved
Jan 30, 2026
Palo logo
Palo
Easy
Software Engineer

Implement three whiteboard coding tasks

The interview report described several coding questions in the same category: 1. Binary search: Given a sorted array of integers and a target value, r...

Coding & Algorithms
2
0
29 people solved
Jan 30, 2026
Snapchat logo
Snapchat
Hard
Machine Learning Engineer

Design a ranking system pipeline

Answer the following ML system design questions: - Describe the machine learning system you know best. Walk through the problem definition, data sourc...

ML System Design
6
0
67 people solved
Jan 30, 2026
Bytedance logo
Bytedance
Medium
Data Scientist

Compute Minimum Parentheses Additions

Given a string s consisting only of the characters '(' and ')', compute the minimum number of parentheses that must be inserted anywhere in the string...

Coding & Algorithms
2
0
37 people solved
Apr 19, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Design a Daily Puzzle Platform

This question evaluates backend system-design skills including API design, data modeling, service decomposition, scaling and consistency trade-offs, s...

System Design
5
0
80 people solved
Apr 19, 2026
Google logo
Google
Medium
Software Engineer

Handle joining overworked low-WLB team

Scenario You have just joined a new engineering team. You quickly notice that: - Every team member appears very busy and often works long hours. - Wor...

Behavioral & Leadership
2
0
46 people solved
Nov 24, 2025
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Design a URL shortener

This question evaluates a candidate's ability to design scalable web services and systems architecture, covering data modeling, routing, and high-read...

System Design
3
0
35 people solved
Jan 29, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Implement an IPv4 Range Iterator

This question evaluates implementing iterative data structures and range-handling algorithms alongside numeric representation of IPv4 addresses and bi...

Coding & Algorithms
4
0
72 people solved
Jan 29, 2026
Box logo
Box
Hard
Software Engineer

Implement a leaky-bucket rate limiter

Implement a leaky-bucket rate limiter Implement a Leaky-Bucket Rate Limiter with Tests and Distributed Design Context and Assumptions - Implement in a...

System Design
49
0
340 people solved
Aug 1, 2025
Box logo
Box
Medium
Software Engineer

Compute Top-K word frequencies under a path

Compute Top-K word frequencies under a path Given a filesystem path that may contain nested subdirectories and files, compute the top K most frequent ...

Coding & Algorithms
25
0
177 people solved
Aug 1, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Implement debounced async autocomplete input

Implement debounced async autocomplete input Implement an Autocomplete Input Component (Frontend Technical Screen) Context Build an autocomplete input...

Software Engineering Fundamentals
8
0
59 people solved
Aug 1, 2025
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
Microsoft logo
Microsoft
Medium
Software Engineer

Sort Three Categories In Place

You are given an array items containing only the values 0, 1, and 2, where each value represents a category. Rearrange the array in-place so that all ...

Coding & Algorithms
0
0
9 people solved
Apr 18, 2026
Microsoft logo
Microsoft
Medium
Machine Learning Engineer

Implement K-Means and Detect Divisible Subarrays

Solve both coding tasks. Part A: Implement K-Means Clustering Implement K-means clustering for a set of points. Given: - points: a list of n points, w...

Coding & Algorithms
1
0
17 people solved
Apr 18, 2026
Apple logo
Apple
Medium
Software Engineer Locked

Compute Earliest Bus Arrival

This question evaluates proficiency with shortest-path algorithms and time-dependent graph modeling, focusing on reasoning about travel times combined...

Coding & Algorithms
5
1
25 people solved
Apr 18, 2026
HubSpot logo
HubSpot
Hard
Software Engineer

Design a Netflix-like streaming platform

Design a Netflix-like streaming platform System Design: Netflix‑Like Video Streaming Platform Context Design a large-scale video streaming platform th...

System Design
18
0
184 people solved
Jul 31, 2025