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
Stripe logo
Stripe
Hard
Software Engineer Locked

Generate Available 30-Minute Time Slots

This question evaluates date/time arithmetic, interval and recurrence handling, edge-case reasoning, and test-case design within scheduling logic for ...

Coding & Algorithms
4
0
65 people solved
Jan 14, 2026
Robinhood logo
Robinhood
Medium
Software EngineerSenior+ Locked

Parse Requests and Compute Balances

This question evaluates input parsing, state management, data validation, and use of basic data structures to track user accounts, friend relationship...

Coding & Algorithms
4
0
47 people solved
Jan 14, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Design a multi-channel notification system

Design a notification system that receives alert events from other internal systems and notifies all subscribed users through multiple channels (e.g.,...

System Design
7
0
135 people solved
Jan 14, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Find minimum time to cross bridge with flashlight

This question evaluates algorithmic problem-solving and optimization skills, including modeling constrained state transitions, reasoning about trade-o...

Coding & Algorithms
3
0
49 people solved
Jan 14, 2026
Atlassian logo
Atlassian
Medium
Software Engineer Locked

Find smallest common organization for employees

The question evaluates competency in hierarchical and graph data structures, including tree lowest-common-ancestor reasoning, DAG ancestor minimality,...

Coding & Algorithms
10
0
79 people solved
Jan 14, 2026
Trexquant logo
Trexquant
Medium
Software Engineer

Maintain median of a data stream

Design a data structure that supports: - addNum(int x): Add an integer from a stream. - findMedian(): Return the median of all inserted numbers so far...

Coding & Algorithms
8
0
61 people solved
Sep 1, 2025
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Implement Three Research Coding Tasks

This multi-part question evaluates skills in differentiable linear algebra and automatic differentiation safety, memory- and buffer-aware numerical im...

Coding & Algorithms
5
0
45 people solved
Jan 13, 2026
Qube logo
Qube
Hard
Data ScientistIntern

Implement and Tune KNN Classifier

You are given two CSV files for a three-class leaf-classification task. - train.csv contains three numeric feature columns: feature_0, feature_1, and ...

Machine Learning
2
0
19 people solved
Jan 12, 2026
Salesforce logo
Salesforce
Medium
Machine Learning EngineerSenior+

Design a collaborative spreadsheet backend

Design a web-based spreadsheet service similar to Google Sheets, with emphasis on backend architecture and data models. Focus areas: - Multiple users ...

System Design
6
0
67 people solved
Jan 12, 2026
Shopify logo
Shopify
Hard
Data Scientist

Calculate Pirated Usage and Revenue Loss

You are analyzing theme piracy on an e-commerce platform. Assume the analysis window is 2023-01-01 through 2023-12-31, all timestamps are stored in UT...

Data Manipulation (SQL/Python)
14
0
142 people solved
Jan 12, 2026
Pinterest logo
Pinterest
Hard
Machine Learning EngineerSenior+ Locked

Support room moves and query top-k fastest

This question evaluates understanding of dynamic data structure design and ordering semantics, specifically maintaining per-room FIFO arrival order, c...

Coding & Algorithms
10
0
68 people solved
Jan 12, 2026
Pinterest logo
Pinterest
Hard
Machine Learning EngineerSenior+ Locked

Implement trie-based autocomplete

This question evaluates understanding and implementation of trie data structures for prefix-based retrieval, testing competencies in string algorithms...

Coding & Algorithms
5
0
47 people solved
Jan 12, 2026
Tools For Humanity logo
Tools For Humanity
Easy
Data Scientist

Compute reply-based engagement metrics

You work on a microblogging app (Twitter-like). Posts and replies are stored in the tables below. Tables all_post - post_id BIGINT PK - post_author_id...

Data Manipulation (SQL/Python)
3
0
44 people solved
Aug 29, 2025
Glean logo
Glean
Easy
Data Scientist

How to measure product success?

You are asked to evaluate whether a product or newly launched feature is successful. Describe how you would define success from a data science and pro...

Analytics & Experimentation
3
0
31 people solved
Jan 11, 2026
Decagon logo
Decagon
Medium
Software Engineer Locked

Implement CSAT tracking and call timing

This question evaluates skills in designing efficient streaming/rolling-window data structures and stateful updates for real-time metrics, alongside p...

Coding & Algorithms
12
0
133 people solved
Jan 11, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Find max node-value range across components

This question evaluates understanding of undirected graph connectivity and component-wise aggregation, specifically the ability to identify connected ...

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

Compute distance to nearest taxi in grid

This question evaluates understanding of graph traversal and shortest-path reasoning on grids, algorithmic problem-solving for computing distances fro...

Coding & Algorithms
27
0
213 people solved
Jan 10, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Compute infection spread time

This question evaluates understanding of grid-based graph traversal and propagation dynamics, testing competencies in breadth-first search concepts, s...

Coding & Algorithms
9
0
126 people solved
Jan 9, 2026
TikTok logo
TikTok
Hard
Software Engineer Locked

Find longest substring with ≥k repeats

This question evaluates proficiency with string-processing techniques and character frequency analysis, focusing on algorithmic skills in the Coding &...

Coding & Algorithms
3
0
38 people solved
Jan 9, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Design a Ticketmaster-like ticketing system

This question evaluates a candidate's competency in designing scalable, consistent online ticketing platforms, testing knowledge of distributed system...

System Design
4
0
75 people solved
Jan 9, 2026