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

Design a meeting scheduler with cancellations

Design a meeting scheduler with cancellations System Design: Meeting Scheduling Platform (Onsite) Context Design a multi-tenant meeting scheduling sys...

System Design
14
0
170 people solved
Jul 26, 2025
Retool logo
Retool
Medium
Software Engineer

Compute max profit with forced trades

Compute max profit with forced trades Given an array prices where prices[i] is the stock price on day i, solve two related tasks under a forced-trade ...

Coding & Algorithms
11
0
82 people solved
Jul 26, 2025
Amazon logo
Amazon
Medium
Data Scientist

Find recommended friend pairs by shared songs

You work on a music app and want to recommend “friend” connections based on listening similarity. Assume the following tables (all timestamps are in U...

Data Manipulation (SQL/Python)
5
0
46 people solved
Dec 20, 2025
Meta logo
Meta
Easy
Data Scientist Locked

Design metrics and experiment for stolen-post detection

Evaluates skills in metrics design, diagnostic analysis, and online experiment methodology within Analytics & Experimentation for a Data Scientist pos...

Analytics & Experimentation
13
0
91 people solved
Dec 18, 2025
Meta logo
Meta
Easy
Data Scientist

Compute reply-based user metrics in 7 days

You are analyzing discussions on a social platform. Tables all_post - post_id (BIGINT, PK) - post_author_id (BIGINT, FK → user.user_id) - post_creatio...

Data Manipulation (SQL/Python)
21
1
174 people solved
Dec 18, 2025
Salesforce logo
Salesforce
Medium
Software Engineer

Solve array duplicate flags and binary swaps

Problem 1: Flag duplicates on the left and right You are given an integer array nums of length n. For each index i, determine: 1. Left-duplicate: whet...

Coding & Algorithms
26
0
187 people solved
Dec 17, 2025
Jane Street logo
Jane Street
Medium
Data ScientistIntern

Quant Probability Brainteasers: Pizza Bounds, Coin Scores, Ant on a Cube, Shoelace Loops, and Paint Mixing

You are in a quantitative research interview. The interviewer works through a series of short probability puzzles and expects you to reason out loud, ...

Machine Learning
3
0
46 people solved
Oct 12, 2022
Hudson River Trading logo
Hudson River Trading
Medium
Software Engineer

Implement Wordle-style word guessing solver

Implement Wordle-style word guessing solver Implement a program to solve a Wordle-style word guessing game. The game has a hidden target word of fixed...

Coding & Algorithms
19
0
266 people solved
Jul 17, 2025
DoorDash logo
DoorDash
Hard
Software EngineerSenior+

Design a scalable Instagram-like platform

Design a scalable Instagram-like platform Design: Instagram-like Photo/Video Sharing Platform (Technical Screen) Context Design a photo/video sharing ...

System Design
12
0
94 people solved
Jul 17, 2025
Nordstrom logo
Nordstrom
Medium
Software Engineer

Implement React logic with TypeScript hooks

Implement React logic with TypeScript hooks React + TypeScript List Manager Context You are building a small UI during an onsite interview. Implement ...

Software Engineering Fundamentals
7
0
58 people solved
Jul 17, 2025
TikTok logo
TikTok
Medium
Software Engineer

Answer core CS fundamentals concisely

Answer core CS fundamentals concisely Answer core CS fundamentals: differentiate processes vs. threads; describe how a thread pool works (task queue, ...

Software Engineering Fundamentals
8
0
58 people solved
Jul 17, 2025
Stripe logo
Stripe
Medium
Software Engineer

Implement tiered shipping calculator

Implement tiered shipping calculator Implement in JavaScript a shipping-cost calculator with three progressively richer pricing models based on a conf...

Coding & Algorithms
4
0
37 people solved
Jul 17, 2025
HubSpot logo
HubSpot
Easy
Software Engineer

Find a special person using knows(a,b)

Problem You are given n people labeled 0 to n-1 at a party. You can call an API: - knows(a, b) -> bool: returns true if person a knows person b, other...

Coding & Algorithms
13
0
102 people solved
Dec 15, 2025
HubSpot logo
HubSpot
Easy
Software Engineer

Design a Netflix-like video platform

Scenario Design a Netflix-like platform that supports: - Search for videos (by title, tags, people, etc.) - Stream videos to web/mobile/TV clients - U...

System Design
9
0
143 people solved
Dec 15, 2025
Meta logo
Meta
Easy
Software Engineer

Merge overlapping time intervals

Problem You are given a list of closed intervals intervals, where each interval is [start, end] and start <= end. Merge all intervals that overlap and...

Coding & Algorithms
2
0
34 people solved
Dec 15, 2025
Google logo
Google
Medium
Software Engineer

Compute shortest delivery route with dangerous stops

Delivery Route Planning With Dangerous Stops You are given delivery stops (nodes) and a set of routes. Each route is a list of stops, and you can trav...

Coding & Algorithms
15
0
153 people solved
Dec 15, 2025
Ramp logo
Ramp
Hard
Software Engineer

Detect recurring transactions from a ledger

You are given a list of credit/debit card transactions. Each transaction has: - transaction_date (YYYY-MM-DD) - merchant (string) - amount (decimal, p...

Coding & Algorithms
42
0
497 people solved
Dec 15, 2025
Amazon logo
Amazon
Medium
Machine Learning EngineerSenior+

Find shortest transformation steps in a word graph

You are given two strings begin and end of the same length, and a list words of distinct strings (also same length). You can transform one string into...

Coding & Algorithms
5
0
74 people solved
Dec 15, 2025
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Design comment ranking for a news feed

This question evaluates a candidate's ability to design an ML-powered comment-ranking system, testing competencies in personalization, engagement and ...

ML System Design
6
0
99 people solved
Dec 15, 2025
Perplexity logo
Perplexity
Medium
Machine Learning Engineer Locked

Train and improve a scikit-learn binary classifier

Evaluates the ability to train, evaluate, and iteratively improve a scikit-learn binary classifier, encompassing model selection, preprocessing, valid...

Machine Learning
11
0
102 people solved
Dec 15, 2025