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
NewsBreak logo
NewsBreak
Medium
Machine Learning Engineer

Derive and implement calibration via temperature scaling

Derive and implement calibration via temperature scaling Temperature Scaling for Softmax Calibration Context You have a trained multi-class classifier...

Machine Learning
3
0
61 people solved
Aug 9, 2025
NewsBreak logo
NewsBreak
Medium
Machine Learning Engineer

Explain why our company and startups

Explain why our company and startups Motivation and Startup Fit — Behavioral (Machine Learning Engineer) Context You are interviewing for a Machine Le...

Behavioral & Leadership
2
0
34 people solved
Aug 9, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Maximize profit with transaction fee

Maximize profit with transaction fee Given an array of daily stock prices and a fixed transaction fee charged on each sell, compute the maximum profit...

Coding & Algorithms
4
0
74 people solved
Aug 8, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement in-memory KV store with serialization

Implement an in-memory key-value store in Python that supports setting and retrieving values and can serialize and deserialize the entire store. Defin...

Coding & Algorithms
40
0
361 people solved
Aug 8, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement a GPU credit manager

Implement a GPU credit manager for a compute cluster. Each user has a nonnegative credit balance that can be increased (grantCredits(user, amount)), c...

Coding & Algorithms
23
0
280 people solved
Aug 8, 2025
Google logo
Google
Medium
Software Engineer

Maintain streaming median and loosemedian

Maintain streaming median and loosemedian Design a data structure for an online stream of positive integers supporting insert (x). After each insertio...

Coding & Algorithms
9
0
64 people solved
Aug 8, 2025
TikTok logo
TikTok
Medium
Software Engineer

Implement distinct islands and sliding maxima

Implement distinct islands and sliding maxima 1) Given a binary grid where 1 represents land and 0 represents water, count how many distinct island sh...

Coding & Algorithms
2
0
38 people solved
Aug 8, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Explain handling conflicts and learning from mistakes

Explain handling conflicts and learning from mistakes Behavioral Prompt: Disagreement and Mistake Reflection Context: You are interviewing for a Softw...

Behavioral & Leadership
6
0
45 people solved
Aug 8, 2025
Verkada logo
Verkada
Hard
Software Engineer

Design camera access-control service

Design camera access-control service Design an Access-Control Service (Users, Cameras, Nested Groups) Context You are building a multi-tenant access-c...

System Design
19
0
152 people solved
Aug 8, 2025
Citadel logo
Citadel
Medium
Data Scientist

Build a baseline linear regression pipeline

Build a baseline linear regression pipeline Task: Baseline Linear Regression Pipeline (Python) Context You are given a tabular dataset in a pandas Dat...

Machine Learning
10
0
80 people solved
Aug 8, 2025
xAI logo
xAI
Medium
Software Engineer

Versioned Key-Value Store with Nested Transactions (Begin, Commit, Rollback)

Implement an in-memory versioned key-value database that supports transactional writes with three transaction-control operations: begin (start a trans...

Coding & Algorithms
1
0
19 people solved
Aug 7, 2025
Nextdoor logo
Nextdoor
Medium
Machine Learning Engineer

Answer HR motivation and project experience questions

Answer HR motivation and project experience questions You are interviewing for a technical role (e.g., software engineer, data scientist, or research ...

Behavioral & Leadership
5
0
55 people solved
Aug 7, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design a cloud storage service

Design a cloud storage service System Design: Cloud Document Storage and Sharing Service Context Design the backend for a large-scale cloud document s...

System Design
8
0
59 people solved
Aug 7, 2025
Amazon logo
Amazon
Medium
Software Engineer

Share examples of impact and simplicity

Share examples of impact and simplicity Behavioral prompt: Exceeding customer expectations and simplifying complex problems Context You are in a softw...

Behavioral & Leadership
5
0
40 people solved
Aug 7, 2025
Meta logo
Meta
Medium
Software Engineer

Design a mini banking system

Design a mini banking system In-Memory Banking System — Design and Implementation You are to design and implement an in-memory banking system that sup...

System Design
9
0
87 people solved
Aug 7, 2025
Meta logo
Meta
Hard
Software Engineer

Design user top-10 songs service

Design user top-10 songs service Design a Service to Compute Each User's Top 10 Songs Context You are designing a backend service for a large-scale mu...

System Design
2
0
31 people solved
Aug 7, 2025
Uber logo
Uber
Medium
Software Engineer

Build a Quadtree and Analyze a Graph

Solve the following two coding problems. 1. Build a quadtree from an image You are given an N x N matrix of integers representing an image, where N is...

Coding & Algorithms
8
0
62 people solved
Dec 28, 2025
Meta logo
Meta
Medium
Data Scientist

[Analytical Reasoning] Comparing Two Newsfeed Ad Insertion Methods

Compare two ad-insertion methods for a 100-post newsfeed. Both methods have the same average ad load. - Method A: each post is independently replaced ...

Analytics & Experimentation
18
0
78 people solved
Apr 7, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Discuss learning and feedback experiences

Discuss learning and feedback experiences This behavioral set covers self-directed learning and how you respond to feedback. Be ready to walk through ...

Behavioral & Leadership
10
0
93 people solved
Aug 4, 2025
Tesla logo
Tesla
Medium
Software Engineer

Optimize Trapping Rain Water

Question LeetCode 42. Trapping Rain Water – implement a brute-force solution, analyze its complexity, then optimize to an O(n) solution with O(n) spac...

Coding & Algorithms
10
0
92 people solved
Aug 4, 2025