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
Dandy logo
Dandy
Medium
Machine Learning EngineerSenior+

Why do transformers struggle with long context?

In a transformer-based model, why is it difficult to process very long input context? Explain the main challenges in terms of computation, memory usag...

Machine Learning
7
0
136 people solved
Apr 5, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Design LLM search handling long token inputs

Design an LLM-powered search and question-answering system over a large corpus of documents such as internal wikis, PDFs, logs, contracts, and web pag...

ML System Design
17
0
175 people solved
Apr 6, 2025
Otter.Ai logo
Otter.Ai
Medium
Software Engineer Locked

Evaluate Arithmetic Expressions

This question evaluates understanding and implementation of expression parsing, operator precedence, tokenization of numeric and operator tokens, and ...

Coding & Algorithms
1
0
13 people solved
May 29, 2026
Roblox logo
Roblox
Medium
Software Engineer Locked

Design a Scalable Like Counter

This question evaluates a candidate's competence in large-scale system design, covering scalability, high-throughput write handling, read-optimized co...

System Design
7
0
86 people solved
Sep 25, 2025
Apple logo
Apple
Medium
Software EngineerSenior+

Explain HashMap Resizing Without Long Pauses

Explain how a hash map works internally. Cover how keys are mapped to buckets, how collisions are handled, and when the table decides to resize. Follo...

Software Engineering Fundamentals
2
0
36 people solved
Oct 28, 2025
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
Reinforce Labs logo
Reinforce Labs
Medium
Software Engineer Locked

Design a REST GET API to fetch DB records

This question evaluates a candidate's competency in RESTful API design, HTTP semantics, database querying and schema considerations, pagination and fi...

System Design
1
0
26 people solved
Jan 8, 2026
xAI logo
xAI
Medium
Software Engineer Locked

Explain process vs thread and memory-sharing risks

This question evaluates a candidate's understanding of OS concurrency fundamentals, specifically the distinction between processes and threads, memory...

Software Engineering Fundamentals
9
0
112 people solved
Oct 27, 2025
OneMain Financial logo
OneMain Financial
Easy
Data Scientist

Detect and address multicollinearity

Prompt You fit a linear/logistic regression model and suspect multicollinearity among features. 1. What is multicollinearity and why is it a problem? ...

Statistics & Math
8
0
63 people solved
Dec 1, 2025
Meta logo
Meta
Easy
Software Engineer

Implement Multi-Level In-Memory Services

Implement the following independent multi-level in-memory service simulations. In an interview, you may receive one scenario and unlock the levels seq...

Coding & Algorithms
0
0
10 people solved
Apr 4, 2026
Google logo
Google
Hard
Software Engineer AI Locked

Solve checksum and dependency debugging tasks

This question evaluates skills in string processing, modular arithmetic-based checksum computation and mapping, plus debugging of feature enablement l...

Coding & Algorithms
14
0
126 people solved
Apr 4, 2026
Uber logo
Uber
Hard
Software Engineer Locked

Solve Two OA Algorithm Problems

These problems evaluate algorithmic optimization and graph connectivity competencies, specifically cost-constrained integer resource allocation for th...

Coding & Algorithms
2
0
52 people solved
Jan 7, 2026
Bytedance logo
Bytedance
Medium
Machine Learning Engineer

Compute Sentence Similarity

Given two text inputs, design and implement a method to compute their semantic similarity. You may use either of the following approaches: 1. Encode e...

Machine Learning
2
0
36 people solved
Jan 7, 2026
Expedia logo
Expedia
Hard
Software Engineer

How do you learn new knowledge quickly?

Behavioral questions 1. How do you learn new knowledge/technology quickly? Provide a concrete example. 2. What was the most challenging project you wo...

Behavioral & Leadership
4
0
67 people solved
Jan 6, 2026
Google logo
Google
Hard
Machine Learning Engineer Locked

Solve several streaming, DAG, and DP tasks

This multi-part question evaluates proficiency in streaming and online algorithms, DAG-based scheduling and parallelism reasoning, and constrained dyn...

Coding & Algorithms
13
1
150 people solved
Jan 6, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Forecast bikes available at a station

This question evaluates proficiency in time-series forecasting, feature engineering, handling temporal data splits, and incorporating operational cons...

Machine Learning
4
0
70 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Match payments to invoices with fallback rules

This question evaluates a candidate's ability to design robust record-matching logic that handles identifier-based matches, fallback heuristics, and n...

Coding & Algorithms
6
0
59 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Debug online worse than offline model performance

This question evaluates the ability to diagnose discrepancies between offline and online model performance by reasoning about data distributions, feat...

ML System Design
5
0
63 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Answer core Python, CS, DB, and testing questions

This multi-part prompt evaluates core software engineering competencies including Python fundamentals (OOP, object/model behavior, iterators/generator...

Software Engineering Fundamentals
2
0
40 people solved
Jan 6, 2026
NVIDIA logo
NVIDIA
Medium
Software EngineerSenior+ Locked

Design first-time Kubernetes deployment in new cloud

This question evaluates system design and cloud platform engineering skills focused on first‑time Kubernetes deployment, covering account bootstrappin...

System Design
8
0
131 people solved
Jan 6, 2026