Tech Interview Questions

Practice 9,224+ 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.16.2026
Showing 20 results
Role
Snapchat logo
Snapchat
Hard
Machine Learning Engineer

Explain core ML concepts and design choices

ML Fundamentals — Interview Questions Instructions Answer the following five ML fundamentals questions. Use precise definitions, equations, and concis...

Machine Learning
5
0
63 people solved
Sep 6, 2025
Google logo
Google
Hard
Software Engineer

Design school-to-guardian messaging with acknowledgments

System Design: Guardian Acknowledgement Messaging Platform Context Design a system that enables school staff to send messages to students' guardians, ...

System Design
5
0
87 people solved
Sep 6, 2025
Google logo
Google
Hard
Software Engineer

Design A/B testing platform

Design an A/B Testing Platform (Architecture + Experiment Science) Context You are designing an A/B testing platform for a large-scale consumer web/mo...

Analytics & Experimentation
7
0
83 people solved
Sep 6, 2025
Google logo
Google
Hard
Software Engineer

Design executable notebook service APIs

Design: Collaborative Notebook with Executable User Functions (JAR Upload) Context Design a collaborative, browser-based code notebook service. The sy...

System Design
10
0
88 people solved
Sep 6, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Implement tree traversals, BFS, and subsets generation

1) Define a TreeNode class for a binary tree with an integer value and left/right pointers. Implement preorder, inorder, and postorder traversals: (a)...

Coding & Algorithms
5
0
75 people solved
Sep 6, 2025
Credit Genie logo
Credit Genie
Medium
Software Engineer

Implement FastAPI CRUD endpoints from skeletons

Implement Update and Delete Endpoints in a FastAPI CRUD Service Context You are given a FastAPI project that already has working Create and Read endpo...

System Design
8
0
113 people solved
Sep 6, 2025
Intuit logo
Intuit
Medium
Software Engineer

Design prompts for JSON-only LLM responses

Design an LLM request that returns strict JSON only Context You are designing a backend call to an LLM for a technical screen (System Design & Enginee...

ML System Design
8
0
72 people solved
Sep 6, 2025
Nextdoor logo
Nextdoor
Medium
Software Engineer

Which culture principle resonates and why

Culture-Fit Reflection: Principle, Evidence, and Thoughtful Critique Prompt After watching the company’s culture-fit video: 1. Select one specific pri...

Behavioral & Leadership
7
0
60 people solved
Sep 6, 2025
Nextdoor logo
Nextdoor
Hard
Software Engineer

Describe CAP, distributed systems, multithreading experience

CAP Theorem, Distributed Systems Design Decisions, and Multithreading Context Provide a structured answer that both explains the concepts and shows ho...

System Design
11
0
99 people solved
Sep 6, 2025
Applied Intuition logo
Applied Intuition
Medium
Machine Learning Engineer

Implement correct attention masking

Autoregressive Transformer: Correct Attention Masking with Padding Context: You are implementing decoder self-attention for an autoregressive Transfor...

Machine Learning
6
0
119 people solved
Sep 6, 2025
NVIDIA logo
NVIDIA
Hard
Software Engineer

Design a distributed multi-user counter

Design a Horizontally Scalable Distributed Counter Service Context You are designing a distributed counter service used concurrently by many clients. ...

System Design
6
0
102 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software Engineer

Explain a recent project and measured impact

Behavioral & Leadership: High-Impact Project Deep Dive You are interviewing for a software engineering role. Provide a concise, metrics-driven walkthr...

Behavioral & Leadership
4
0
52 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Hard
Software Engineer

Design credit balance with vector-clock expirations

Credit Balance Service with Vector-Clock Expiries You are designing a backend service that maintains per-user promotional credits. Credits are granted...

System Design
13
0
150 people solved
Sep 6, 2025
DoorDash logo
DoorDash
Hard
Software Engineer

Debug a cache incident end-to-end

Incident Scenario: Elevated Latency and Surge in Cache Misses You are paged for elevated tail latency and a spike in cache misses in a microservice th...

Software Engineering Fundamentals
25
0
240 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Merge overlapping and adjacent ranges

Given an unsorted list of integer ranges represented as half-open intervals [start, end) with start < end, merge all overlapping or directly adjacent ...

Coding & Algorithms
3
0
36 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
TikTok logo
TikTok
Hard
Software Engineer

Design a high-concurrency ticketing system

Question Design a high-concurrency ticketing / flash-sale system for limited inventory (e.g. tickets to a popular concert with a fixed number of seats...

System Design
13
0
170 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Machine Learning EngineerSenior+

Explain XGBoost Parallelism Strategies

Explain How XGBoost Parallelizes Training Scope Describe how XGBoost achieves parallelism: 1. Within a single machine - Histogram-based split findi...

Machine Learning
7
0
77 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design a log filtering and analytics service

Question Design a log-processing service that ingests application logs at scale and supports the following capabilities: 1. Filter logs by attributes ...

System Design
14
0
117 people solved
Sep 6, 2025