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

Tell me about exceeding your responsibility

Answer these Amazon-style behavioral interview questions with concrete STAR stories: 1. Tell me about a time you went beyond your formal responsibilit...

Behavioral & Leadership
4
0
53 people solved
Mar 22, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Solve three scheduling and array problems

In this round you are given three separate coding problems to solve. --- Problem 1: Schedule tasks with cooldown You are given: - A list of tasks, whe...

Coding & Algorithms
15
0
119 people solved
Oct 28, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Evaluate an Arithmetic Expression

This question evaluates proficiency in parsing arithmetic expressions, handling unary and binary operators, parentheses, whitespace, numeric tokenizat...

Coding & Algorithms
1
0
9 people solved
May 1, 2026
eBay logo
eBay
Medium
Software Engineer Locked

Format Words into Fixed-Width Lines

This question evaluates proficiency in string manipulation, greedy line-packing algorithms, and attention to implementation details such as spacing di...

Coding & Algorithms
3
0
27 people solved
May 1, 2026
Wayfair logo
Wayfair
Easy
Data Scientist Locked

Find top buyer in earliest 10-year window

This question evaluates proficiency in data manipulation and analytical querying with SQL/Python, emphasizing date-based windowing, join operations, a...

Data Manipulation (SQL/Python)
3
0
23 people solved
Feb 18, 2026
Jane Street logo
Jane Street
Hard
Software Engineer Locked

Optimize trade PnL table updates

This question evaluates understanding of incremental aggregation and state management, including handling overlapping predicates, caching expensive or...

Coding & Algorithms
17
0
188 people solved
Feb 18, 2026
Meta logo
Meta
Easy
Software Engineer Locked

Compute Range Sum Quickly

This question evaluates a candidate's understanding of range-sum queries, array preprocessing techniques and algorithmic complexity for answering mult...

Coding & Algorithms
3
0
49 people solved
Feb 18, 2026
TikTok logo
TikTok
Easy
Data Scientist

Implement stacks, streaming median, and upward path sum

Complete the following coding problems. State the time/space complexity and key edge cases for each. 1) MinStack Design a stack that supports: - push(...

Coding & Algorithms
10
0
118 people solved
Feb 17, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer

Explain core components of reinforcement learning

In reinforcement learning, we model an agent that interacts with an environment over time. The agent observes the state of the environment, takes acti...

Machine Learning
7
0
51 people solved
Oct 26, 2025
XPeng logo
XPeng
Hard
Machine Learning Engineer

Explain PPO and Transformer basics

PPO, Bellman Equations, On-/Off-Policy Learning, and Transformer Basics Context: You are interviewing for a machine learning role with emphasis on rei...

Machine Learning
8
0
70 people solved
Sep 6, 2025
Instacart logo
Instacart
Medium
Software Engineer

Implement prefix and suffix file search

Implement data structures and APIs to store file names and support efficient queries that match both a given prefix and suffix. Provide methods add(na...

Coding & Algorithms
6
0
113 people solved
Sep 6, 2025
Apple logo
Apple
Medium
Software Engineer

Introduce yourself and align with team focus

Behavioral Prompt: Self-Introduction and Recent Projects You are in a technical screen for a Software Engineer role on a team working on diffusion mod...

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

Explain data structure fundamentals

Explain how a hash map works internally: hashing, collision resolution strategies (separate chaining vs. open addressing), load factor, and resizing. ...

Coding & Algorithms
7
0
73 people solved
Sep 6, 2025
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
Figma logo
Figma
Hard
Software Engineer

Define and measure article trending

Design “Trending” for Articles: Definition, Measurement, and Evaluation Context You are building a "Trending" ranking for an articles surface (e.g., h...

Analytics & Experimentation
26
0
184 people solved
Sep 6, 2025
Google logo
Google
Hard
Software Engineer

Design viewing history and resume service

Design: Watched-Video and Resume Playback Service Context Design a backend service that records each user’s watched video list and lets them resume an...

System Design
12
0
90 people solved
Sep 6, 2025
LinkedIn logo
LinkedIn
Hard
Software Engineer

Explain a project and handle ambiguity

Behavioral & Leadership: End-to-End Project + Ambiguous Production Incident You are interviewing for a Software Engineer (Onsite) role. Provide a conc...

Behavioral & Leadership
3
0
72 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Hard
Software Engineer

Design a GPT chat UI with snapshots and sharing

System Design: End-to-End Web App for Interacting with a GPT-like Model Context You are designing a multi-tenant, browser-based SaaS application that ...

System Design
17
0
204 people solved
Sep 6, 2025
Shopify logo
Shopify
Hard
Machine Learning Engineer

Collect labels without existing data

Modeling Without Labels: End-to-End Plan You are tasked with shipping an ML model but have no labeled data. Outline a rigorous approach to: 1) Define ...

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

Design locker allocation service

Design a Best-Fit Locker Assignment Component Context You are designing the locker-assignment component for a Locker OS used at physical locker banks ...

System Design
4
0
60 people solved
Sep 6, 2025