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

Investigate Causes of Driver WOW Score Drop

Investigate Causes of Driver WOW Score Drop Investigating a 10% QoQ Drop in Driver WOW (Satisfaction) Context Assume WOW is a standardized driver sati...

Analytics & Experimentation
32
0
96 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Compare RNNs and Transformers for Long-Sequence Text Classification

Compare RNNs and Transformers for Long-Sequence Text Classification Scenario You are designing a long-sequence text classification system under tight ...

Machine Learning
48
0
102 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Create Country-Level Spend Report Using Pandas

users +---------+---------+ | user_id | country | +---------+---------+ | 1 | US | | 2 | CA | | 3 | US | +---------+-...

Data Manipulation (SQL/Python)
82
0
195 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Diagnose Business Decline Using Key Data Metrics

Diagnose Business Decline Using Key Data Metrics Diagnose a Sudden Business Downturn Using Data Context You are the data scientist supporting a large ...

Analytics & Experimentation
6
0
37 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Top Three Active Users by Event Date

event_log +------------+---------+-----------+---------------------+ | event_date | user_id | event_type| event_timestamp | +------------+--------...

Data Manipulation (SQL/Python)
137
1
356 people solved
Aug 4, 2025
Jane Street logo
Jane Street
Medium
Data Scientist

Optimal Stopping for Die Rolls That Bust on Perfect Squares

You repeatedly roll a fair six-sided die and keep a running cumulative sum $S$ of all the values rolled so far (starting from $S = 0$ before the first...

Coding & Algorithms
0
0
5 people solved
Aug 3, 2025
Jane Street logo
Jane Street
Medium
Data Scientist

Two Opaque Boxes: Place or Take for Maximum Expected Payoff

You are playing a one-player game with two opaque boxes, both of which start empty. The game lasts exactly 100 turns, and on every turn you must choos...

Coding & Algorithms
0
0
10 people solved
Aug 3, 2025
Netflix logo
Netflix
Medium
Software Engineer

Find longest unique show window

Given an array of show names (strings) representing a user's viewing history, return the start and end indices of a longest contiguous subarray that c...

Coding & Algorithms
7
0
118 people solved
Aug 1, 2025
Akuna Capital logo
Akuna Capital
Medium
Software Engineer

Design user communication manager APIs

Design user communication manager APIs In-Memory Communication Manager (Bidirectional Sessions) Goal Design a lightweight, in-memory manager that trac...

System Design
3
0
43 people solved
Aug 1, 2025
Akuna Capital logo
Akuna Capital
Medium
Software Engineer

Answer SQL MCQs with reasoning

Answer multiple-choice questions covering SQL topics: INNER vs LEFT vs RIGHT JOIN semantics; GROUP BY and HAVING; NULL handling in comparisons and agg...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 1, 2025
Box logo
Box
Medium
Software Engineer

Flip a specific bit in an integer

Given a non-negative integer num and a zero-based bit position p, return the integer resulting from flipping only the bit at position p (i.e., 0 becom...

Coding & Algorithms
9
0
91 people solved
Aug 1, 2025
Instacart logo
Instacart
Medium
Software Engineer

Validate password strength and repair

Given a password policy—length between 8 and 20 characters; must include at least one lowercase letter, one uppercase letter, and one digit; and must ...

Coding & Algorithms
9
0
95 people solved
Aug 1, 2025
Instacart logo
Instacart
Medium
Software Engineer

Implement a banking operations system

Implement a simple banking system that manages multiple accounts with initial balances. Support operations: deposit(accountId, amount), withdraw(accou...

Coding & Algorithms
14
0
184 people solved
Aug 1, 2025
Uber logo
Uber
Medium
Software Engineer

Define and integrate room ranking factors

Define and integrate room ranking factors Design a Room-Ranking System for Meeting Requests Context You are building a service that assigns conference...

Analytics & Experimentation
3
0
60 people solved
Aug 1, 2025
Uber logo
Uber
Medium
Software Engineer

Parse and evaluate nested expressions with validation

Design and implement a parser/evaluator for a parenthesized expression language where the input string may be invalid. The language uses spaces as tok...

Coding & Algorithms
3
0
60 people solved
Jul 31, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Compute shortest recursive string encoding

Given a string s, compress it by replacing any consecutive repetition of a substring with the form k{pattern} where k > 1 and pattern may itself be re...

Coding & Algorithms
5
0
55 people solved
Jul 31, 2025
Rippling logo
Rippling
Medium
Software Engineer

Compute max simultaneous drivers last 24 hours

Given delivery intervals (driverId, startTime, endTime) already recorded, implement maxSimultaneousDriverInPast24Hours() that returns the maximum numb...

Coding & Algorithms
30
0
210 people solved
Jul 31, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Compute shortest path to collect all keys

You are given an m×n grid containing walls (#), open cells (.), a single start cell (@), up to six keys labeled 'a'–'f', and matching doors 'A'–'F' th...

Coding & Algorithms
9
0
105 people solved
Jul 31, 2025
HubSpot logo
HubSpot
Hard
Software Engineer

Design a weather aggregation system

Design a weather aggregation system System Design: Weather Data Aggregation (10-minute Updates) Context Build a service that periodically fetches weat...

System Design
6
0
93 people solved
Jul 31, 2025
Fidelity logo
Fidelity
Medium
Software Engineer

Compare Spring and Spring Boot

Compare Spring and Spring Boot What are the differences between Spring Framework and Spring Boot? Compare configuration approaches, auto-configuration...

Coding & Algorithms
5
0
65 people solved
Jul 31, 2025