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

Design an in-memory key-value store using maps

Design a low-level key-value store library (like an embedded storage engine) under an interview constraint: you may use only map/dictionary-like data ...

System Design
19
0
140 people solved
Nov 21, 2025
Shopify logo
Shopify
Easy
Data Scientist

Deep dive a technical project and its impact

Describe one technical project you led or significantly contributed to (DS/analytics/ML/engineering). The interviewer wants both a high-level story an...

Behavioral & Leadership
11
0
116 people solved
Nov 21, 2025
Optiver logo
Optiver
Medium
Data Scientist

Quant Trading Game: Expected-Value Betting and Market Making on Coins, Dice, and Cards

Quant Trading Game: Expected-Value Betting and Market Making on Coins, Dice, and Cards You are playing a live, 30-minute trading game against the inte...

Machine Learning
4
0
43 people solved
Jul 25, 2025
Travelers Insurance logo
Travelers Insurance
Easy
Data ScientistIntern

Handle multicollinearity in feature selection

You are building an interpretable predictive model for an insurance company, such as a linear or logistic regression model for claim risk. Several inp...

Machine Learning
4
0
56 people solved
Mar 29, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Design a group chat system

Design a WhatsApp-like group chat system. Core features: - 1:1 and group conversations - Send/receive text messages (assume small payloads) - Group me...

System Design
19
0
234 people solved
Jan 19, 2026
Microsoft logo
Microsoft
Easy
Data Scientist Locked

Design evaluation when A/B test is impossible

This question evaluates a data scientist's competency in causal inference, observational experiment design, metric selection, and production monitorin...

Analytics & Experimentation
6
0
70 people solved
Feb 9, 2026
Akuna Capital logo
Akuna Capital
Hard
Software Engineer

Minimum Movement Cost to Segregate Binary Digits

Minimum Movement Cost to Segregate Binary Digits Given a binary string, repeatedly move a 1 to the right across adjacent 0 characters until all zeros ...

Coding & Algorithms
0
0
2 people solved
May 24, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Implement a Banking System

Design and implement an in-memory banking system. All operations are processed in non-decreasing timestamp order. Account identifiers are strings. Mon...

Coding & Algorithms
9
0
67 people solved
May 24, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Implement Review Content Moderation

This question evaluates a candidate's ability to implement consistent server-side content moderation and stateful persistence handling in a backend se...

Software Engineering Fundamentals
11
0
122 people solved
May 24, 2026
Airbnb logo
Airbnb
Medium
Software Engineer

Design a scalable notification system

Problem Design a notification system for a company at Airbnb-like scale that can send notifications to different user types (e.g., customers/guests, h...

System Design
32
0
346 people solved
Nov 20, 2025
Meta logo
Meta
Medium
Software Engineer

Design a marketplace price tracking service

Design a large-scale product price tracking service similar to an e-commerce price monitor. Users can submit product links from a major online marketp...

System Design
2
0
44 people solved
Mar 4, 2026
Spotify logo
Spotify
Medium
Machine Learning Engineer

Join Tables and Rank Users

You are given two analytics tables: - users(user_id, country, signup_date) - listening_events(event_id, user_id, played_at, minutes_played) Because th...

Coding & Algorithms
10
0
100 people solved
Mar 4, 2026
Walmart Labs logo
Walmart Labs
Easy
Software EngineerSenior+ Locked

Design aggregator for multiple downstream services

This question evaluates system-design and distributed-systems skills, focusing on microservice aggregation, fan-out/fan-in concurrency, fault toleranc...

System Design
8
0
63 people solved
Dec 9, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Design a high-level logging system

Design a high-level centralized logging system for a company. Assume many services (microservices, batch jobs) running across multiple hosts/container...

System Design
6
0
116 people solved
Feb 9, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer

Design an LLM quality validation system

You are asked to design an end-to-end LLM quality validation system for a team that trains and serves large language models. The goal is to automatica...

ML System Design
6
0
106 people solved
Dec 8, 2025
Google logo
Google
Medium
Data Scientist

Define and sample a truncated normal

Define the truncated normal Z | a < Z < b for Z ~ N(0,1): write the normalized pdf and cdf. Then design efficient samplers for three cases: (i) a = 1,...

Statistics & Math
5
0
69 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Hard
Data Scientist

Diagnose and experiment to reduce late deliveries

Two-Sided Delivery Platform: Rising Late Deliveries You are the first analyst on a two‑sided delivery platform that handles both food and parcel order...

Analytics & Experimentation
26
0
204 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Derive MLEs and conditional Normal distributions

Normal and Bivariate Normal: PDFs/CDFs, MLEs, Conditioning, and Unbiased Variance Setup - Let X1, …, Xn be i.i.d. Normal(μ, σ²). - Independently, let ...

Statistics & Math
7
0
98 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist

Compare two stores’ profits rigorously

Prompt: 14-Day Plan to Decide Which Snack Shop Will Be More Profitable Next Quarter Context: Two snack shops operate simultaneously at a school gate. ...

Analytics & Experimentation
7
0
58 people solved
Oct 13, 2025
Thumbtack logo
Thumbtack
Medium
Data Scientist

Compare list/dict; parse JSON/CSV at scale

Compare Python list and dict precisely: for append/insert/lookup/update/delete, state average and worst-case time complexity, memory implications, and...

Data Manipulation (SQL/Python)
6
0
96 people solved
Oct 13, 2025