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

Rotate a 3×3 digit grid by 180°

This question evaluates understanding of grid and string manipulation, coordinate transformations, spatial reasoning, and character validation in cons...

Coding & Algorithms
10
0
115 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Maximize capacity with primary-backup pairing

This question evaluates combinatorial optimization and constrained matching skills, focusing on algorithm design, complexity analysis, and resource-al...

Coding & Algorithms
5
0
49 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Design a rolling hit counter API

This question evaluates proficiency with data structures for time-window aggregation and understanding of time/space trade-offs when counting events w...

Coding & Algorithms
9
0
104 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Minimize total factory cost with distance penalties

This question evaluates dynamic programming and sequence optimization skills, focusing on modeling cumulative build costs with adjacency distance pena...

Coding & Algorithms
5
0
39 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Verify business accounts with progressive KYC rules

This question evaluates skills in string parsing, text normalization, rule-based validation, and token-based string matching within a KYC verification...

Coding & Algorithms
9
0
70 people solved
Jan 6, 2026
Fortinet logo
Fortinet
Medium
Software Engineer Locked

Solve linked list reversal and minima problems

This set of problems evaluates proficiency in fundamental data structures and algorithms, specifically linked list manipulation (reversal and linear-t...

Coding & Algorithms
4
0
43 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Design a large-scale temperature sensor system

This question evaluates system design and distributed-systems competencies including large-scale data ingestion, time-series storage, real-time visual...

System Design
9
0
89 people solved
Jan 6, 2026
Applied logo
Applied
Hard
Software Engineer

Implement Nested Transactional Key-Value Store

Implement an in-memory key-value store that processes a batch of commands, one command per line. The store must support nested transactions. Supported...

Coding & Algorithms
2
0
25 people solved
Apr 4, 2026
Pinterest logo
Pinterest
Medium
Software EngineerSenior+

Settle Group Expenses with Transfers

You are given a list of group expense transactions from a trip. Each transaction contains: - payer: the person who paid the full amount. - amount: the...

Coding & Algorithms
2
0
17 people solved
Jan 5, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Check equal character frequencies

This question evaluates a candidate's understanding of character frequency analysis and algorithmic reasoning in string manipulation, measuring the ab...

Coding & Algorithms
1
0
38 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Find shortest path in an OOP maze

This question evaluates graph traversal and shortest-path reasoning within an object-oriented codebase, focusing on state representation, neighbor exp...

Coding & Algorithms
2
0
39 people solved
Jan 5, 2026
Worldquant logo
Worldquant
Medium
Data Scientist

Solve a Three-Roll Optimal Stopping Game

Solve a Three-Roll Optimal Stopping Game A fair six-sided die may be rolled at most three times. After each of the first two rolls, stop and receive t...

Statistics & Math
0
0
7 people solved
Feb 26, 2025
Hot Agent Startup logo
Hot Agent Startup
Medium
Software Engineer

Implement a Thread-Safe Pub-Sub Service

Implement a simple server-side publish-subscribe system using Python's standard threading library. Requirements: - Multiple publisher threads may publ...

Software Engineering Fundamentals
1
0
19 people solved
Apr 3, 2026
Netflix logo
Netflix
Medium
Software EngineerSenior+

Implement Caches, Undo, and Traversal

Solve the following coding tasks. For each task, define clean APIs, implement the core logic, and be prepared to explain time and space complexity. Ta...

Coding & Algorithms
5
0
50 people solved
Apr 3, 2026
Temporal logo
Temporal
Medium
Software Engineer Locked

Implement Concurrent Any-True Shot

This question evaluates proficiency in concurrent programming, focusing on coordination, synchronization, early termination, and best-effort cancellat...

Coding & Algorithms
3
0
53 people solved
Apr 3, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Simulate Plant Infection Spread

This question evaluates graph traversal and grid-based simulation skills, including modeling a 2D grid as a graph, propagation dynamics with obstacles...

Coding & Algorithms
6
0
76 people solved
Apr 3, 2026
Oracle logo
Oracle
Medium
Software Engineer

How do you tackle unfamiliar problems?

Behavioral questions 1. Project deep dive: Briefly introduce yourself and walk through 1–2 past projects you worked on. Pick one problem you solved th...

Behavioral & Leadership
6
0
68 people solved
Jan 4, 2026
Google logo
Google
Hard
Software Engineer Locked

Minimize maximum height along a grid path

This question evaluates algorithmic pathfinding and graph-modeling skills, specifically reasoning about grid-based route selection where the objective...

Coding & Algorithms
11
0
71 people solved
Jan 4, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Design a ride-hailing ETA system

This question evaluates competency in applied machine learning and data science, including ETA system and product design, feature and label engineerin...

Machine Learning
2
0
48 people solved
Jan 3, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Derive a CDF from a PDF

This question evaluates a candidate's understanding of the relationship between probability density functions and cumulative distribution functions, i...

Statistics & Math
5
0
43 people solved
Jan 3, 2026