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.16.2026
Showing 20 results
Role
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Write SQL for rankings, state, and aggregations

This question evaluates a candidate's competency in SQL data manipulation, covering ranking/top-N queries, aggregations and percentage calculations, t...

Data Manipulation (SQL/Python)
7
0
51 people solved
Feb 21, 2026
Google logo
Google
Medium
Machine Learning Engineer

Implement a Web Crawler with BFS and DFS

Implement a simple web crawler in Python. You are given: - A starting URL. - A function get_links(url) -> list[str] that returns all outgoing links fr...

Coding & Algorithms
1
0
18 people solved
Dec 24, 2025
TikTok logo
TikTok
Easy
Data Scientist Locked

Design and decompose Trust & Safety risk metrics

This question evaluates a data scientist's competency in Trust & Safety metric design, including defining primary and diagnostic metrics, decomposing ...

Analytics & Experimentation
9
0
78 people solved
Nov 1, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Find possible robot positions

This question evaluates a candidate's ability to reason about grid traversal, boundary conditions, directional visibility counting, and constraint-bas...

Coding & Algorithms
5
0
99 people solved
Feb 21, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer Locked

Design a Recency-Eviction Cache

This question evaluates proficiency with data structures and algorithmic design for implementing a fixed-capacity key-value cache that enforces recenc...

Coding & Algorithms
5
0
38 people solved
Feb 21, 2026
Citadel logo
Citadel
Hard
Data Scientist Locked

Sort a Nearly Sorted Array

This question evaluates algorithm design and analysis skills, focusing on handling nearly-sorted arrays and reasoning about time and space complexity ...

Coding & Algorithms
6
0
67 people solved
Feb 21, 2026
Datadog logo
Datadog
Medium
Software Engineer

Match logs to prior queries

Question You receive a stream of strings, each beginning with either "Q:" (query) or "L:" (log). A query consists of space-separated words and should ...

Coding & Algorithms
18
0
68 people solved
Jul 29, 2025
Netflix logo
Netflix
Medium
Software Engineer

Show Behavioral Fit and Experience

Show Behavioral Fit and Experience Behavioral and Leadership HR Screen — Software Engineer (Netflix) Context: This is an HR screen focused on your bac...

Behavioral & Leadership
35
0
219 people solved
Jul 29, 2025
Stripe logo
Stripe
Medium
Software Engineer

Discuss challenging project examples

Discuss challenging project examples Behavioral and Leadership Interview Prompt — Software Engineer (Onsite) You will be assessed on problem-solving, ...

Behavioral & Leadership
13
0
66 people solved
Jul 29, 2025
Google logo
Google
Medium
Software Engineer

Show leadership and teamwork

Show leadership and teamwork Behavioral Leadership Question Context You are in an onsite software engineering behavioral and leadership interview. The...

Behavioral & Leadership
12
0
57 people solved
Jul 29, 2025
DRW logo
DRW
Hard
Machine Learning Engineer

Train LinearSVC to beat a hidden baseline

Train LinearSVC to beat a hidden baseline You are given a dataset and a fixed model class: LinearSVC. Implement train(X_train, y_train) and test(X_tes...

ML System Design
3
0
36 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Design a basic credit card system

This question evaluates object-oriented design and domain modeling skills, including class responsibilities, relationships, state management, transact...

Software Engineering Fundamentals
2
0
47 people solved
Oct 31, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern

Describe failure, conflict, metrics, and AI lessons

The interview included several behavioral prompts with deep follow-up questions. Prepare clear STAR-style stories for the following: - Tell me about a...

Behavioral & Leadership
3
0
55 people solved
Oct 31, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Design Slack-like messaging platform

Design a Slack-like team collaboration product. Core features: - Workspaces (tenants), users, and channels (public/private) - Direct messages (1:1 and...

System Design
12
0
95 people solved
Oct 31, 2025
Google logo
Google
Medium
Data ScientistIntern Locked

Generate Uniform Samples and Estimate Percentiles

Solve two Google statistics questions: sample uniformly from a square using rand01 and estimate percentiles from histogram buckets using cumulative co...

Statistics & Math
7
0
60 people solved
Mar 27, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Identify members lacking specialty coverage

Identify members lacking specialty coverage Oscar wants to ensure that every insurance member has adequate access to in-network healthcare providers w...

Coding & Algorithms
10
0
72 people solved
Jul 28, 2025
Google logo
Google
Medium
Software Engineer Locked

Determine Whether a Word Exists in a Graph

This question evaluates proficiency in graph algorithms and backtracking techniques, including traversal strategies, cycle avoidance, and state manage...

Coding & Algorithms
6
2
37 people solved
May 2, 2026
Upstart logo
Upstart
Easy
Data ScientistSenior+

Estimate impact without experiments and pick variant

Part A — Measuring impact when you cannot run an experiment You are a Staff Data Scientist working on a product change (feature/policy/model update). ...

Analytics & Experimentation
19
0
177 people solved
Feb 19, 2026
Optiver logo
Optiver
Easy
Data Scientist

Fermi Estimation with Confidence Intervals: How Many Houses Does One Year of US Netflix Spending Buy?

Estimate how many houses could be purchased with the total amount that people in the United States spend on Netflix subscriptions in one year. You sta...

Machine Learning
2
0
32 people solved
Jul 26, 2025
Adyen logo
Adyen
Medium
Software Engineer

Demonstrate ownership in a project deep dive

Demonstrate ownership in a project deep dive Behavioral prompt: Walk through a recent complex project Context You are interviewing for a software engi...

Behavioral & Leadership
5
0
92 people solved
Jul 26, 2025