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

Design a Product Search System

Design a product search system for a large e-commerce marketplace. Users enter free-text queries such as wireless headphones, apply filters such as pr...

ML System Design
10
0
84 people solved
Apr 18, 2026
Google logo
Google
Hard
Machine Learning Engineer

Explain ML model fundamentals

Explain ML model fundamentals Comprehensive ML Concepts: Logistic Regression, Naive Bayes, Transformers, Multi-class Metrics, Bagging vs Boosting Cont...

ML System Design
48
0
179 people solved
Jul 29, 2025
Microsoft logo
Microsoft
Easy
Data Scientist

Explain KNN and how to tune it

K-Nearest Neighbors (KNN) fundamentals You are interviewing for a Data Scientist role. 1. Explain how the KNN algorithm works for both classification ...

Machine Learning
40
0
382 people solved
Jan 17, 2026
Two Sigma logo
Two Sigma
Easy
Data Scientist Locked

Why is the t-statistic useful

This question evaluates understanding of the t-statistic and broader statistical inference competencies, focusing on interpreting effect size relative...

Statistics & Math
9
0
73 people solved
Feb 13, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Design a scalable key-value store

System Design: Distributed Key-Value Store Design a distributed key-value (KV) storage service for a large-scale backend system. The service should ex...

System Design
18
0
160 people solved
Dec 8, 2025
Google logo
Google
Medium
Machine Learning Engineer Locked

Explain GRPO-style training for diffusion models

This question evaluates understanding of reinforcement learning applied to diffusion-based generative models, covering policy optimization, reward mod...

Machine Learning
9
0
106 people solved
Dec 8, 2025
Scale AI logo
Scale AI
Medium
Software Engineer

Describe how you learn quickly in new domains

Interview-style behavioral question: "Tell me about a time you had to learn something very quickly in order to succeed in a project or role. How did y...

Behavioral & Leadership
17
0
210 people solved
Dec 8, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Identify the Extra Directed Edge

You are given a list of directed edges edges, where each edge is represented as [parent, child]. The graph contains nodes labeled from 1 to n, and it ...

Coding & Algorithms
4
0
57 people solved
Jan 3, 2026
Uber logo
Uber
Medium
Software Engineer

Design a Rolling Event Counter

Design an in-memory rolling event counter. The counter should support two operations: - record(timestamp): record one event at the given timestamp, me...

Software Engineering Fundamentals
9
0
68 people solved
Jan 30, 2026
Netflix logo
Netflix
Medium
Software Engineer

Show role fit using past ad experience

In a manager interview for an ads engineering role, you’re often evaluated on whether you can “join and immediately contribute.” How would you: - Map ...

Behavioral & Leadership
16
0
227 people solved
Jan 30, 2026
Grammarly logo
Grammarly
Medium
Software Engineer

Build AI chat for spreadsheets

Design an AI chat interface for the spreadsheet product. A user can type natural-language commands such as: - "Sum all values in column K and write th...

ML System Design
9
0
122 people solved
Feb 13, 2026
Google logo
Google
Medium
Software EngineerNew Grad

Return Unique Three-Sum Value Triples

Return Unique Three-Sum Value Triples Problem Implement threeSumTarget(nums, target) -> triples. Return every distinct value triple [a, b, c] for whic...

Coding & Algorithms
1
0
14 people solved
Dec 8, 2025
Apple logo
Apple
Hard
Machine Learning Engineer

Design a streaming embedding-based classifier

You are given a continuously arriving stream of text data for a classification task. Design an end-to-end machine learning system that: 1. processes r...

ML System Design
12
0
98 people solved
Jan 2, 2026
Google logo
Google
Medium
Software Engineer

Design an elevator control system

Design the software for a multi-elevator control system in a high-rise building. Specify classes, scheduling algorithms for car assignments, handling ...

Coding & Algorithms
9
0
106 people solved
Sep 6, 2025
Anrok logo
Anrok
Hard
Software Engineer

Design async batched key-value fetcher

Design an async, batched key-value fetcher with a 100 ms window Context You have a single-threaded, event-loop environment (e.g., JS/TS). A backend en...

System Design
15
0
243 people solved
Sep 6, 2025
eBay logo
eBay
Medium
Software Engineer Locked

Design a Top-K trending service

This question evaluates skills in distributed system design, real-time stream processing, scalable aggregation, windowing semantics, and trade-offs ar...

System Design
6
0
118 people solved
Jan 15, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Design a superhero incident dispatch system

This question evaluates system design and distributed systems competencies, including geospatial indexing, real-time location ingestion, low-latency m...

System Design
15
0
179 people solved
Feb 12, 2026
Capital One logo
Capital One
Medium
Machine Learning Engineer

Describe projects, conflicts, and tough stakeholders

Manager (HM) behavioral interview prompt You have a 30–45 minute hiring-manager conversation. Expect a discussion centered on your recent work plus a ...

Behavioral & Leadership
5
0
89 people solved
Feb 12, 2026
TikTok logo
TikTok
Medium
Machine Learning EngineerNew Grad

Design video captioning under compute limits

Scenario You work on a multimodal team at a large short-video platform. The team has a multimodal large model that takes a video (sampled frames, with...

ML System Design
7
0
102 people solved
Feb 12, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer Locked

Design a meeting scheduler API

This question evaluates object-oriented design, interval data-structure and algorithmic thinking, and concurrent programming competence by requiring a...

Software Engineering Fundamentals
11
0
204 people solved
Feb 12, 2026