Tech Interview Questions

Practice 9,224+ 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
Roblox logo
Roblox
Medium
Data Scientist

Evaluate Impact of New Roblox Homepage Tab

Evaluate the Impact of a New Roblox Homepage Tab Roblox plans to replace an existing homepage tab with a new one. The team needs to measure whether th...

Analytics & Experimentation
53
0
147 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Assess Fundamental Statistics Knowledge in Data-Science Interviews

Fundamental Statistics for a Data Science Interview You are given several standard statistics tasks commonly used in a data-science technical screen. ...

Statistics & Math
30
0
178 people solved
Jul 12, 2025
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Solve Throughput, Rate Limiting, and LFU

This set of tasks evaluates algorithmic problem-solving, data structure design, and systems-oriented reasoning by testing throughput calculation, roll...

Coding & Algorithms
10
0
91 people solved
Mar 20, 2026
Databricks logo
Databricks
Hard
Data Scientist

Test coin fairness from 560 tails in 1000 flips

You flip a coin n = 1000 times and observe 560 tails. At significance level α = 0.05, test whether the coin is fair. - State the null and alternative ...

Statistics & Math
7
0
65 people solved
Dec 12, 2025
TikTok logo
TikTok
Medium
Software Engineer

Reverse nodes in even-length linked-list groups

Problem Given the head of a singly linked list, you will traverse the list in contiguous groups of increasing size: the 1st group has size 1, the 2nd ...

Coding & Algorithms
5
0
74 people solved
Dec 11, 2025
Roblox logo
Roblox
Easy
Data ScientistSenior+

Find maximum follow depth using recursion

You are given a directed follows relationship representing a social graph: - Each record (follower_id, followee_id) means follower_id follows followee...

Coding & Algorithms
14
0
216 people solved
Dec 11, 2025
LinkedIn logo
LinkedIn
Medium
Data Scientist

Evaluate an email test with confounding

Evaluate an Email Test With Confounding A marketing team tested Email A and Email B across two cities, San Francisco and New York, over two weeks. The...

Analytics & Experimentation
3
0
43 people solved
Jul 8, 2025
Databricks logo
Databricks
Hard
Software EngineerNew Grad

Implement firewall matching with CIDR rules

Implement a simple IPv4 firewall rule matcher. Problem You are given an ordered list of firewall rules. Each rule has: - an action: ALLOW or DENY - a ...

Coding & Algorithms
11
1
177 people solved
Dec 10, 2025
TikTok logo
TikTok
Medium
Software Engineer

Compute length of longest increasing subsequence

You are given an integer array nums of length n. A subsequence of nums is a sequence that can be derived from nums by deleting zero or more elements w...

Coding & Algorithms
7
0
69 people solved
Dec 10, 2025
Hackerrank logo
Hackerrank
Medium
Software Engineer Locked

Find Final Ball Holder

This question evaluates understanding of functional graphs, cycle detection, and handling large-step transitions in deterministic mappings where repea...

Coding & Algorithms
3
0
41 people solved
Mar 18, 2026
DoorDash logo
DoorDash
Hard
Data Scientist Locked

Define metrics for new market expansion success

DoorDash new-market expansion analytics prompt covering marketplace health metrics, demand and supply diagnostics, guardrails, 6-month evaluation plan...

Analytics & Experimentation
12
0
100 people solved
Jul 7, 2025
Worldquant logo
Worldquant
Medium
Data Scientist

Price a Sequential Four-Box Search Game

Price a Sequential Four-Box Search Game Four boxes contain one \$100 prize. Each opening costs the same fee x; you choose an unopened box and may stop...

Statistics & Math
0
0
6 people solved
Feb 26, 2025
Jane Street logo
Jane Street
Medium
Data Scientist

Pricing a Mystery Money Box: Expected Value, Adverse Selection, and Competition

A company manufactures sealed boxes. Each box contains a cash amount that is an integer number of dollars drawn uniformly at random from $1$ to $100$ ...

Machine Learning
2
0
30 people solved
Feb 26, 2025
Gts logo
Gts
Medium
Data Scientist Locked

Analyze duplicating data in linear regression

This question evaluates understanding of linear regression theory and statistical inference, specifically how duplicating observations affects OLS coe...

Machine Learning
4
0
33 people solved
Sep 18, 2025
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer

Solve string and hashmap interview tasks

Coding questions (solve both) 1) First non-repeating character Given a string s, return the first character that appears exactly once in the string. -...

Coding & Algorithms
18
0
130 people solved
Dec 9, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Compare float types and design ablation

This question evaluates understanding of floating-point numerical representations and experimental design for ablation studies, testing competencies i...

Machine Learning
2
0
20 people solved
Dec 8, 2025
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design a URL shortening service

This question evaluates a candidate's ability to design scalable, highly available backend services, testing competencies in API design, data modeling...

System Design
19
0
150 people solved
Dec 8, 2025
Amazon logo
Amazon
Easy
Machine Learning Engineer

Contrast CNNs and fully connected networks

Compare convolutional neural networks (CNNs) with fully connected (dense) networks. Explain: - The structural differences between convolutional layers...

Machine Learning
3
0
56 people solved
Dec 8, 2025
Meta logo
Meta
Medium
Software Engineer

Describe resolving conflict by persuading others

Describe a time you had a significant work-related conflict or disagreement with a teammate, stakeholder, or manager where you believed your approach ...

Behavioral & Leadership
2
0
55 people solved
Dec 8, 2025
Meta logo
Meta
Medium
Software Engineer

Find kth largest element in array

Question Given an unsorted array of integers nums and an integer k, return the k-th largest element in the array. The 1st largest element is the maxim...

Coding & Algorithms
4
0
58 people solved
Dec 8, 2025