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
Capital One logo
Capital One
Hard
Machine Learning Engineer Locked

Compute minutes since last train departure

This question evaluates time arithmetic and handling of cyclic day-wrap boundary conditions along with parsing and comparison of timestamp lists, refl...

Coding & Algorithms
7
0
46 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Maximize sum without choosing adjacent elements

This question evaluates a candidate's understanding of array-based optimization and dynamic programming concepts for computing a maximum sum under non...

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

Validate parentheses and find k-th largest

This pair of problems evaluates mastery of fundamental data structures and algorithmic techniques: Problem A tests understanding of stack-based parsin...

Coding & Algorithms
6
0
65 people solved
Jan 6, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Reconstruct route from unordered travel tickets

This question evaluates understanding of directed graph concepts and sequence reconstruction, assessing the ability to reason about ordered relationsh...

Coding & Algorithms
12
0
200 people solved
Jan 6, 2026
Microsoft logo
Microsoft
Medium
Machine Learning EngineerSenior+ Locked

Infer user intent from typing in real time

This question evaluates machine learning system design competency in streaming, low-latency intent inference from typing and UI context, covering priv...

ML System Design
4
0
76 people solved
Jan 6, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Add two integer strings using digit-adder

This question evaluates proficiency in string-based arithmetic, digit-wise addition, carry propagation, and management of arbitrarily large non-negati...

Coding & Algorithms
6
0
53 people solved
Jan 6, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Build message schema parser with size/type queries

This question evaluates parsing of a simple message schema, construction of mappings from field names to primitive types and byte sizes, and computati...

Coding & Algorithms
2
0
23 people solved
Jan 6, 2026
Snowflake logo
Snowflake
Medium
Software Engineer Locked

Compute total time to finish all courses

This question evaluates competency in graph algorithms and scheduling, including dependency resolution, cycle detection, and aggregation of task durat...

Coding & Algorithms
5
0
92 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Measure platform success and drive adoption

This question evaluates a candidate's competency in platform leadership, operational metrics, organizational scaling, and driving cross-team adoption ...

System Design
10
0
84 people solved
Jan 6, 2026
Google logo
Google
Hard
Software Engineer Locked

Minimize travel time with optional meeting point

This question evaluates a candidate's understanding of graph shortest-path computation and meeting-point optimization, testing skills in handling weig...

Coding & Algorithms
9
0
75 people solved
Jan 6, 2026
MathWorks logo
MathWorks
Medium
Software EngineerIntern Locked

Minimize reduction cost and validate equal-sum pairs

This two-part question evaluates array manipulation and algorithmic problem-solving skills: the first task focuses on optimizing cumulative operation ...

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

Find where to cut cake into equal areas

This question evaluates geometric area computation, handling of piecewise-constant profiles formed by adjacent rectangles, and attention to numerical ...

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

Find viewing direction that sees most points

This question evaluates computational geometry skills, angular normalization and counting within a sector, and the ability to design algorithms that s...

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

Resolve user roles across account hierarchy

This question evaluates understanding of hierarchical data structures, role-based access control semantics, and set/map operations for computing effec...

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

Calculate transaction fees from CSV records

This question evaluates parsing and processing of structured transaction data, implementing multi-dimension fee computation rules (provider-, transact...

Coding & Algorithms
13
1
98 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Compute balances, rejections, and platform reserve

This question evaluates transactional state management, time-ordered stream processing, balance reconciliation, handling of rejected transactions, and...

Coding & Algorithms
4
0
37 people solved
Jan 6, 2026
Fireworks Ai logo
Fireworks Ai
Medium
Software Engineer Locked

Find global GPU idle intervals

This question evaluates competency in interval reasoning, managing overlapping time ranges across distributed resources, designing online data structu...

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

Answer range queries for alternating parity subarrays

This question evaluates understanding of array manipulation, parity properties, efficient range-query processing, and preprocessing techniques for han...

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

Answer four array/time/grid query questions

This set of four problems evaluates array manipulation and comparison, time parsing and minute-difference calculation, linear path enumeration with ex...

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

Find longest increasing contiguous subarray

This question evaluates proficiency in array processing and algorithmic optimization, focusing on recognition of contiguous subarray properties and ha...

Coding & Algorithms
14
0
110 people solved
Jan 6, 2026