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

Implement autocomplete with top-K suggestions

Implement an autocomplete component that, given a history of query strings with frequencies, returns the top K suggestions for an input prefix in real...

Coding & Algorithms
2
0
43 people solved
Sep 6, 2025
Lyft logo
Lyft
Medium
Software Engineer

Discuss eligibility and behavioral scenarios

Behavioral and Logistics Questions (Onsite — Software Engineer) Context You are interviewing for a Software Engineer role in a behavioral and leadersh...

Behavioral & Leadership
10
0
88 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software Engineer

Traverse binary tree by levels with constraints

Given a binary tree and a predicate P(node), perform a level-by-level traversal that collects, for each level, only the nodes whose values satisfy P. ...

Coding & Algorithms
2
0
37 people solved
Sep 6, 2025
Lyft logo
Lyft
Medium
Software Engineer

Explain resume projects and behavioral responses

Behavioral Interview Prompt (STAR) Context: You are interviewing for a Software Engineer role in an onsite behavioral/leadership round. Using the STAR...

Behavioral & Leadership
3
0
65 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Machine Learning EngineerSenior+

Explain Multi-Armed Bandit Principles

Multi-Armed Bandits vs A/B Testing: Algorithms, Trade-offs, and Production Considerations You are designing online decision-making for a large-scale p...

Analytics & Experimentation
6
0
87 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design a keyboard and mouse input system

Question Design an input processing system that captures keyboard and mouse events and can reliably reconstruct what the user typed (answering "what d...

System Design
8
0
78 people solved
Sep 6, 2025
Adobe logo
Adobe
Hard
Software Engineer

Design distributed word count without MapReduce

System Design: Distributed Word Frequency Counting (No MapReduce) Context You need to design a distributed system that computes word frequencies over ...

System Design
7
0
114 people solved
Sep 6, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer

Identify impactful blog content pillars

Content Pillars for a Developer-Facing Software Product Blog (Beyond Performance) Context You are planning the editorial strategy for a developer-focu...

Behavioral & Leadership
9
0
64 people solved
Sep 6, 2025
Figma logo
Figma
Medium
Software Engineer

Describe adapting communication to interviewer preferences

Behavioral: Calibrating Your Depth to the Hiring Manager Context: HR Screen for a Software Engineer role. Describe a time you intentionally avoided sh...

Behavioral & Leadership
13
0
139 people solved
Sep 6, 2025
LinkedIn logo
LinkedIn
Hard
Software Engineer

Design distributed parallel job processing

Design a Distributed System for Parallel Job Execution Context You are asked to design a highly available, horizontally scalable service that executes...

System Design
9
0
89 people solved
Sep 6, 2025
Axon logo
Axon
Hard
Software Engineer

Design an e-commerce analytics warehouse

Design an Analytics Warehouse for an E‑commerce Platform Context An e‑commerce platform exposes the following user-facing services: - Item search - It...

Analytics & Experimentation
8
0
85 people solved
Sep 6, 2025
Qube Research & Technologies logo
Qube Research & Technologies
Hard
Software Engineer

Design an asynchronous logger with formatting

Design an Asynchronous C++ Logger Using a Lock-Free Queue Context You are asked to design and implement an asynchronous logger suitable for a technica...

System Design
10
0
75 people solved
Sep 6, 2025
Microsoft logo
Microsoft
Medium
Data Scientist Locked

How would you estimate impact without A/B?

This question evaluates a data scientist's competency in causal inference, experimental design, metric definition and diagnostics, with specific empha...

Analytics & Experimentation
5
0
47 people solved
Jan 16, 2026
Amazon logo
Amazon
Medium
Software Engineer

Design an OOD restaurant management system

Object-oriented design: Restaurant management system Design an object-oriented system for a dine-in restaurant that supports the following: Functional...

Software Engineering Fundamentals
9
0
95 people solved
Sep 5, 2025
Upstart logo
Upstart
Medium
Data Scientist

Solve core probability/statistics mini-problems

Answer the following probability/statistics interview questions. Assume all randomness is independent unless stated otherwise. 1) Radioactive decay (h...

Statistics & Math
12
0
89 people solved
Nov 29, 2025
Bytedance logo
Bytedance
Hard
Software Engineer

Add TTL to an LRU cache

Design an in-memory LRU cache and explain how to extend it with TTL support. Requirements: - get(key) returns the value if the key exists and has not ...

Software Engineering Fundamentals
3
0
59 people solved
Mar 10, 2026
Rippling logo
Rippling
Medium
Software EngineerSenior+ AI

Implement a balance tracker and interval merger

This screening contained two coding exercises. Part 1: Driver balance tracker You are building an in-memory ledger for a delivery platform. Each updat...

Coding & Algorithms
9
0
92 people solved
Mar 10, 2026
Startups.Com logo
Startups.Com
Medium
Machine Learning Engineer

Explain attention variants and their tradeoffs

You are asked to explain and reason about modern Transformer attention mechanisms. 1) Scaled dot-product attention - Define the operation mathematical...

Machine Learning
3
0
71 people solved
Mar 10, 2026
Waymo logo
Waymo
Medium
Software Engineer

Find the Best Meeting Point on a Grid

Find the Best Meeting Point on a Grid You are given a rectangular grid containing buildings, empty land, and obstacles: - 1 is a building. - 0 is empt...

Coding & Algorithms
3
0
19 people solved
May 13, 2026
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Design concurrent expiring job registry

This question evaluates understanding of concurrent data structures, synchronization primitives, time-based expiration semantics, and efficient cleanu...

Software Engineering Fundamentals
2
0
29 people solved
Nov 28, 2025