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 480 Companies08.05.2026
Showing 20 results
Role
Databricks logo
Databricks
Hard
Software Engineer Locked

Design a KV store with QPS API

This question evaluates a candidate's ability to design scalable, highly available key-value storage systems and to integrate real-time metrics report...

System Design
33
0
635 people solved
Feb 4, 2026
Snapchat logo
Snapchat
Medium
Machine Learning Engineer Locked

Design a short-video recommender for short-term interest

This question evaluates a candidate's understanding of real-time personalized recommendation systems, with emphasis on session-based short-term intere...

ML System Design
5
0
91 people solved
Jan 10, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Debug transformer and train classifier

Debug and Fix a Transformer Text Classifier, Then Train and Evaluate It You inherit a small codebase for a transformer-based text classifier. It ships...

Machine Learning
173
0
2022 people solved
Aug 4, 2025
Intuit logo
Intuit
Medium
Data Scientist

Engineer and Impute ZIP Features

Question You are building a predictive model for a product team. For some users you have address fields such as street, city, state, and ZIP code. Man...

Machine Learning
12
1
140 people solved
Feb 23, 2026
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
Grammarly logo
Grammarly
Medium
Software Engineer Locked

Deep-Copy a Linear Linked List

Deep-copy a finite singly linked list represented by nested Python lists. Preserve values and structure while allocating every returned node independe...

Coding & Algorithms
1
0
14 people solved
Jun 19, 2026
Grammarly logo
Grammarly
Medium
Software Engineer Locked

Deep-Copy a Linked List with Random Pointers

Clone a linked list whose records use arbitrary IDs for next and random pointers. Translate every identity and pointer through supplied fresh IDs whil...

Coding & Algorithms
1
0
16 people solved
Jun 19, 2026
Gusto logo
Gusto
Medium
Data Scientist Locked

Build a Churn Prediction Model

This question evaluates a candidate's competency in end-to-end churn modeling, including precise label definition, point-in-time feature engineering a...

Machine Learning
8
0
71 people solved
May 29, 2026
Anthropic logo
Anthropic
Hard
Software Engineer Locked

How do you review a design document?

This question evaluates proficiency in reviewing design documents, including requirements and scope, architecture and data flow, correctness and secur...

Software Engineering Fundamentals
57
0
507 people solved
Mar 1, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Find invalid transactions in time-sorted input

Problem You are given a list of transaction records, already sorted in non-decreasing order by time. Each transaction is a string in the form: "name,t...

Coding & Algorithms
36
0
264 people solved
Dec 15, 2025
Capital One logo
Capital One
Medium
Data Scientist Locked

How should you renew or replace a show?

This question evaluates financial modeling, causal attribution, probabilistic decision-making, and strategic portfolio analysis skills for a Data Scie...

Analytics & Experimentation
12
0
86 people solved
Feb 22, 2026
NVIDIA logo
NVIDIA
Easy
Software Engineer Locked

Compute the Final Robot Score

This question evaluates data structure and algorithm proficiency, focusing on managing dynamic multisets with priority-based selection and reasoning a...

Coding & Algorithms
5
0
41 people solved
May 19, 2026
Oracle logo
Oracle
Hard
Software Engineer

Evaluate Subjective and Nondeterministic Agent Outputs

Evaluate Subjective and Nondeterministic Agent Outputs Design an evaluation program for an AI agent whose answers may be valid in several different fo...

ML System Design
1
0
11 people solved
May 1, 2026
Confluent logo
Confluent
Medium
Software EngineerSenior+

Implement tail -n for a Very Large File

Implement tail -n for a Very Large File Design and implement the core of tail -n: given a seekable file and a non-negative integer n, return the final...

Software Engineering Fundamentals
2
0
40 people solved
Jan 1, 2026
Airbnb logo
Airbnb
Hard
Software EngineerSenior+

How do you conduct a code review exercise?

In a live interview, you are shown a short code change — a diff, a pull request, or a standalone function — and asked to produce written code review c...

Software Engineering Fundamentals
22
0
390 people solved
Jan 19, 2026
Lyft logo
Lyft
Medium
Data Scientist Locked

Investigate Metric Drops and Coupon Retention

This question evaluates a data scientist's skills in product analytics, metric instrumentation and validation, causal inference, cohort selection, exp...

Analytics & Experimentation
33
0
580 people solved
May 28, 2026
Two Sigma logo
Two Sigma
Medium
Software Engineer Locked

Implement Price-Time Order Matching

This question evaluates understanding of limit-order book mechanics, priority-based matching, stateful stream processing, and data-structure managemen...

Coding & Algorithms
5
0
35 people solved
May 9, 2026
Harvey logo
Harvey
Hard
Software Engineer

Design a production file storage service

System Design: Production-Grade File Storage Service Problem Design a production-grade file storage service with the following APIs, semantics, and co...

System Design
82
0
884 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Data Scientist

Measure scheduled posts feature success

Facebook is considering launching a new feature that allows users to schedule a post to be published at a future time. The product hypothesis is that ...

Analytics & Experimentation
12
0
136 people solved
Apr 30, 2026
Axon logo
Axon
Medium
Software Engineer

Design device logging system with offline upload

Design a logging system that collects logs from many client devices, uploads them to the backend, and makes them viewable in a web UI within 3–5 minut...

System Design
33
0
325 people solved
Feb 6, 2026