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

Design an in-memory banking service

Design an in-memory banking service supporting timestamped operations and edge-case semantics. Implement: ( 1) create_account(id, t): Create a new acc...

Coding & Algorithms
105
1
927 people solved
Sep 6, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Explain median vs mean for L1/L2

Median vs. Mean Under L1 and L2 Loss, and the 2D Extension Explain, with intuition and a brief derivation, the relationship between the choice of loss...

Statistics & Math
22
0
175 people solved
Sep 6, 2025
Akuna Capital logo
Akuna Capital
Medium
Software Engineer

Implement a two-user communications handler

One-at-a-time Two-User Communications Handler Context Design and implement a communications handler that supports exactly one active conversation at a...

System Design
15
0
107 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Find fair split of a two-color necklace

Given a circular necklace represented by a string s over {'a','b'}, you may cut the necklace at most twice (yielding three contiguous pieces). Can you...

Coding & Algorithms
12
0
151 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

How to host many domains on one IP?

You have a single Linux server with one public IPv4 address. A coffee shop, butcher shop, and auto repair shop each want their own website and their o...

System Design
28
0
198 people solved
Feb 1, 2026
Medium
Software Engineer

4.1 Design a Live Streaming Platform

This is a classic system design question that tests your ability to handle real-time data at massive scale. Live streaming sits at the intersection of...

System Design
11
0
122 people solved
Jan 31, 2026
HackerRank logo
HackerRank
Medium
Software EngineerSenior+ Locked

Debug React Sorting, Persistence, Routing, and Accessibility

Prepare for a HackerRank software engineering interview question about debug react sorting, persistence, routing, and accessibility. The prompt highli...

Software Engineering Fundamentals
0
0
9 people solved
May 19, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Fix a Corrupted Bootloader Instruction

This question evaluates the ability to simulate instruction-level program execution, reason about control flow and mutable program state (instruction ...

Coding & Algorithms
9
0
51 people solved
May 19, 2026
Capital One logo
Capital One
Medium
Data Scientist

How would you choose between shows?

You are a data scientist at a streaming company similar to Netflix or Hulu. Leadership wants a recommendation on whether to renew an existing series o...

Analytics & Experimentation
16
0
109 people solved
Jan 9, 2026
Rippling logo
Rippling
Hard
Software Engineer Locked

Design several large-scale systems

This prompt evaluates expertise in large-scale system architecture and distributed systems, including competencies in API and storage design, scalabil...

System Design
30
0
206 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer

Answer common collaboration behavioral questions

Behavioral interview prompts Answer the following behavioral questions with concrete examples (use the STAR or CAR framework). Focus on your specific ...

Behavioral & Leadership
8
0
72 people solved
Feb 12, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Design a multi-threaded synchronous log writer

This question evaluates a candidate's understanding of concurrent programming, durable I/O, synchronization primitives, ordering guarantees, and syste...

Software Engineering Fundamentals
28
0
533 people solved
Feb 12, 2026
Rippling logo
Rippling
Medium
Software Engineer Locked

Design an extensible expense rule evaluator

This question evaluates system-design and API/interface skills for rule engines, focusing on data modeling, extensibility, maintainability, and rule/r...

Software Engineering Fundamentals
38
0
466 people solved
Feb 12, 2026
Salesforce logo
Salesforce
Medium
Software Engineer Locked

Implement common data-structure and JS tasks

This multi-part prompt evaluates core competencies in data structures and algorithms (time-based key-value design, duplicate removal in sorted linked ...

Coding & Algorithms
12
0
164 people solved
Feb 12, 2026
Exa logo
Exa
Hard
Machine Learning Engineer

Debug a PyTorch Contrastive Loss

Debug a PyTorch Contrastive Loss The source reports a PyTorch contrastive-loss debugging interview centered on matrix-multiplication shape mismatches....

Machine Learning
2
0
16 people solved
Apr 18, 2026
Expedia logo
Expedia
Medium
Software EngineerSenior+

How do you use AI for coding?

An interviewer asks about your day-to-day use of AI coding assistants. Answer the following: 1) Do you use AI to write code at work? If yes, for what ...

Behavioral & Leadership
10
0
126 people solved
Oct 29, 2025
Goldman Sachs logo
Goldman Sachs
Hard
Machine Learning Engineer

Evaluate TPR/FPR, sigmoid, and activations

You have a 70-minute assessment with several ML-fundamentals multiple-choice questions. Answer the following (show calculations where applicable). 1) ...

Machine Learning
3
0
65 people solved
Oct 10, 2025
Apple logo
Apple
Medium
Software EngineerNew Grad

Solve interval, grid-fill, and heap tasks

You are asked to solve the following algorithmic problems. Problem 1: Concurrent users from online intervals You are given n inclusive time intervals ...

Coding & Algorithms
15
0
192 people solved
Nov 27, 2025
Intuit logo
Intuit
Easy
Software Engineer Locked

Design Premium Product Recommendations

This question evaluates a candidate's ability to design an ML-powered recommendation system, testing competencies in personalization, data requirement...

ML System Design
4
0
52 people solved
Jun 5, 2026
DoorDash logo
DoorDash
Medium
Software EngineerSenior+ AI Locked

Implement Timeout Refund Workflow

This question evaluates skills in deterministic workflow design, idempotency and retry-safety for external payment integrations, state-transition corr...

Coding & Algorithms
2
1
19 people solved
Jun 5, 2026