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
SIG (Susquehanna) logo
SIG (Susquehanna)
Medium
Data Scientist

Compute ruin probability with bold betting

Probability of Reaching 5 Tokens Before Ruin Setup - You start with 3 tokens, target is 5 tokens, and ruin is 0. - On each turn, you bet as many token...

Statistics & Math
7
0
84 people solved
Aug 11, 2025
Meta logo
Meta
Medium
Software Engineer

Design an online chess platform

Design an online chess platform. Requirements: - User matchmaking (ranked/unranked). - Real-time gameplay with low latency moves. - Enforce game rules...

System Design
6
0
53 people solved
Feb 25, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Design A URL Shortener

This question evaluates skills in large-scale system design, covering distributed systems, API design, data modeling and storage, caching, short-code ...

System Design
18
0
134 people solved
May 4, 2026
Google logo
Google
Hard
Software EngineerNew Grad Locked

Compute Turnstile Crossing Times

This question evaluates proficiency in queue simulation, event-driven scheduling, and handling priority and tie-breaking rules while achieving linear ...

Coding & Algorithms
5
1
50 people solved
May 4, 2026
Ramp logo
Ramp
Hard
Software Engineer

Count Visits in One Minute

Design a system that can report the number of website visits in the most recent 1-minute sliding window. The website may receive high traffic, and the...

System Design
37
0
419 people solved
Jan 17, 2026
Roblox logo
Roblox
Easy
Data Scientist Locked

How to estimate feature impact on usage time

This question evaluates causal inference and observational analytics skills—specifically defining an estimand, designing primary, diagnostic, and guar...

Analytics & Experimentation
21
0
258 people solved
Jan 17, 2026
Lyft logo
Lyft
Hard
Data Scientist

Investigate Causes and Effects of Dynamic Pricing on ETAs

Investigate Causes and Effects of Dynamic Pricing on ETAs Lyft notices that ride wait times, or ETA, increased 20% month over month. The team suspects...

Analytics & Experimentation
93
0
185 people solved
Jul 12, 2025
Tesla logo
Tesla
Hard
Software Engineer Locked

Implement a Rollback Key-Value Store

This question evaluates competency in designing data structures and state-management mechanisms, focusing on rollback/undo semantics, versioning, and ...

Coding & Algorithms
1
0
32 people solved
Apr 9, 2026
Bobyard logo
Bobyard
Medium
Software Engineer

Implement comment sorting and nesting

You are given mock comment data on the frontend. Each comment has: - id: unique comment ID - userId: author ID - timestamp: creation time - content: c...

Coding & Algorithms
5
0
44 people solved
Apr 9, 2026
SoFi logo
SoFi
Medium
Software Engineer

Explain GC, singleton, and OOP principles

Answer the following Java/software-engineering fundamentals questions: 1. How does Java garbage collection work at a high level (generational GC, mark...

Software Engineering Fundamentals
10
0
112 people solved
Feb 4, 2026
Reddit logo
Reddit
Easy
Data Scientist Locked

Design experiment for ads in chat with budgets

This question evaluates a data scientist's skills in experimental design, causal inference, metrics selection, and handling allocation constraints for...

Analytics & Experimentation
7
0
54 people solved
Dec 11, 2025
Hudson River Trading logo
Hudson River Trading
Medium
Software Engineer

Count Digit-Reversal Equivalent Pairs

Define flipdigits(x) as the integer produced by reversing the decimal digits of non-negative integer x and removing leading zeroes from the reversed r...

Coding & Algorithms
0
0
9 people solved
Jul 2, 2026
Datadog logo
Datadog
Medium
Software Engineer

Deep-dive a recent project

Project Deep-Dive (Technical Screen: Behavioral & Leadership) Context You will be asked to walk through a recent project you owned end-to-end. Assume ...

Behavioral & Leadership
12
0
94 people solved
Sep 6, 2025
Datadog logo
Datadog
Hard
Software Engineer

Design an image detection system

System Design: End-to-End Image Object-Detection Service Context Design a production-grade service that ingests user-uploaded images, runs object dete...

ML System Design
34
0
236 people solved
Sep 6, 2025
Citi logo
Citi
Medium
Software Engineer

Walk through resume and impact

Behavioral Interview: Resume Walkthrough and Project Deep Dive You are in an onsite Software Engineer interview. Provide a concise, outcome-focused wa...

Behavioral & Leadership
14
0
108 people solved
Sep 6, 2025
Millennium Management logo
Millennium Management
Medium
Software Engineer

Implement paginated API ingestion

You are given a REST endpoint GET /orders?page=1&limit=100 that returns JSON objects of the form { "page": n, "per_page": m, "total_pages": T, "data":...

Data Manipulation (SQL/Python)
11
0
195 people solved
Sep 6, 2025
Google logo
Google
Hard
Software Engineer

Design key management service

Design a Key Management Service (KMS) You are asked to design a production-grade, multi-tenant Key Management Service. A client provides a key identif...

System Design
8
0
137 people solved
Sep 6, 2025
Tesla logo
Tesla
Easy
Machine Learning Engineer

Compute Conv2D parameter counts

Parameter Count for a 2D Convolution Layer You are given a standard 2D convolution layer with: - Input channels: C_in - Output channels: C_out - Kerne...

Machine Learning
23
0
177 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Machine Learning Engineer

Design a RAG system end to end

Design a Retrieval‑Augmented Generation (RAG) System for Enterprise Text Context You are building a production RAG system that answers employee questi...

ML System Design
15
0
123 people solved
Sep 6, 2025
xAI logo
xAI
Hard
Machine Learning Engineer

Implement a trie-based tokenizer

Design and Implement a Trie-Based Subword Tokenizer for LLM Pretraining Context You are building a subword tokenizer for a large-scale LLM pretraining...

ML System Design
38
1
301 people solved
Sep 6, 2025