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
Lyft logo
Lyft
Medium
Data Scientist Locked

Investigate MAU Drop and Test Coupons

This question evaluates a data scientist's competency in product analytics, causal inference, experimentation design, metric decomposition, user segme...

Analytics & Experimentation
6
0
93 people solved
Jan 20, 2026
Meta logo
Meta
Medium
Data Scientist

Write SQL for Pixel Signal Metrics

You are working on Meta Ads Pixel analytics. Assume all timestamps are stored in UTC, and analyze the last 30 complete calendar days. Tables 1. advert...

Data Manipulation (SQL/Python)
4
0
56 people solved
Jan 20, 2026
Others logo
Others
Medium
Software Engineer Locked

Answer k-step ancestor queries in a rooted tree

This question evaluates proficiency with tree data structures and ancestor-query algorithms, focusing on reasoning about parent arrays, upward travers...

Coding & Algorithms
2
0
27 people solved
Jan 20, 2026
Netflix logo
Netflix
Hard
Software Engineer Locked

Design command executor with undo

This question evaluates understanding of the command pattern, state and history management, failure handling, and appropriate data structure use for i...

Coding & Algorithms
9
0
70 people solved
Jan 20, 2026
Uber logo
Uber
Hard
Software Engineer Locked

Find robots matching obstacle-distance signature

This question evaluates spatial reasoning on 2D grids, the ability to compute distance signatures to nearest obstacles, and careful handling of bounda...

Coding & Algorithms
10
0
148 people solved
Jan 20, 2026
Two Sigma logo
Two Sigma
Medium
Data ScientistIntern

Linear Interpolator with Extrapolation

Linear Interpolator with Extrapolation You are given n knot points in a 2D coordinate system, where knots[i] = [x_i, y_i]. All x-coordinates are disti...

Coding & Algorithms
8
0
57 people solved
Sep 10, 2025
Gofundme logo
Gofundme
Easy
Software Engineer Locked

Explain React and Firebase data interaction

This question evaluates understanding of frontend-backend data flow and integration with cloud-hosted databases, specifically concepts like real-time ...

Software Engineering Fundamentals
1
0
28 people solved
Jan 19, 2026
Walmart Labs logo
Walmart Labs
Hard
Data ScientistSenior+

Convert Dictionary to DataFrame

Using Python and pandas, convert the following dictionary into a DataFrame. Each top-level key is a target column name, and each value is a list of [r...

Data Manipulation (SQL/Python)
1
0
20 people solved
Jan 18, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Evaluate business value of lower ETA

This question evaluates experimental design, causal inference, metric definition, statistical interpretation, and marketplace analytics in the context...

Analytics & Experimentation
5
0
43 people solved
Jan 18, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Maximize score in 15-sum card game

This question evaluates algorithmic problem-solving in combinatorial search, state-space optimization, and memoization by asking for the maximum achie...

Coding & Algorithms
9
0
110 people solved
Jan 18, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Compute unmatched parentheses length

This question evaluates string-processing skills and understanding of parentheses matching and cancellation, focusing on linear-time sequence analysis...

Coding & Algorithms
4
0
43 people solved
Jan 18, 2026
Easy
Software Engineer Locked

Clean up all Docker resources

This question evaluates proficiency in Docker resource management, covering containers, images, and volumes and the ability to perform a complete envi...

Software Engineering Fundamentals
1
0
30 people solved
Jan 18, 2026
Waymo logo
Waymo
Easy
Data Scientist

Determine earliest collision among moving cars

You are given n cars moving over time. Each car has known initial state at time \(t=0\): - 1D case (straight road): - initial position \(x_i\) (mete...

Coding & Algorithms
32
0
244 people solved
Jan 17, 2026
Waymo logo
Waymo
Easy
Data Scientist Locked

Implement nested template string substitution

This question evaluates understanding of string processing, dependency resolution, recursive expansion, cycle detection, and efficiency techniques suc...

Coding & Algorithms
17
1
129 people solved
Jan 17, 2026
TikTok logo
TikTok
Easy
Data Scientist

Maximize watched duration under consecutive-sum limit

You have a list of videos in a feed. Video i has duration d[i] (positive integer). A user has an “attention span” limit A. You want to select a subset...

Coding & Algorithms
7
0
64 people solved
Jan 17, 2026
PayPal logo
PayPal
Easy
Data Scientist Locked

Explain and interpret p-values correctly

This question evaluates statistical inference and experimental-design competencies, focusing on a precise definition and correct interpretation of p-v...

Statistics & Math
8
0
60 people solved
Jan 17, 2026
PayPal logo
PayPal
Easy
Data Scientist Locked

Write SQL using HAVING and window functions

This question evaluates SQL data manipulation competency, focusing on aggregation filtering with HAVING and the use of window functions for running co...

Data Manipulation (SQL/Python)
9
0
78 people solved
Jan 17, 2026
Boston logo
Boston
Easy
Data Scientist

Implement palindrome check and valid parentheses

You have 20–25 minutes per problem. Implement the following two functions and be prepared to explain your approach and time/space complexity. Problem ...

Coding & Algorithms
6
0
47 people solved
Jan 17, 2026
Others logo
Others
Easy
Data Scientist

Compute per-coin quarterly amounts and totals

Problem (SQL: Conditional Aggregation) You have two tables: coins - coin_id INT PRIMARY KEY - name VARCHAR transactions - id BIGINT PRIMARY KEY - coin...

Data Manipulation (SQL/Python)
1
0
9 people solved
Jan 17, 2026
Graham Capital logo
Graham Capital
Medium
Software Engineer

Explain project assumptions and validation methods

Assumptions, Validation, and End-to-End Process for an Analytics/Experimentation Project Context: You are describing a recent analytics/experimentatio...

Analytics & Experimentation
3
0
58 people solved
Sep 6, 2025