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
Intuit logo
Intuit
Easy
Data Scientist

Diagnose KPI anomaly and evaluate promotion/A-B test

Diagnose KPI anomaly and evaluate promotion/A-B test You are a Data Scientist supporting a TurboTax product team. You are asked to handle three relate...

Analytics & Experimentation
12
0
130 people solved
Aug 1, 2025
Box logo
Box
Medium
Software Engineer

Compute Top-K word frequencies under a path

Compute Top-K word frequencies under a path Given a filesystem path that may contain nested subdirectories and files, compute the top K most frequent ...

Coding & Algorithms
25
0
177 people solved
Aug 1, 2025
Box logo
Box
Medium
Software Engineer

Diagnose failures via SSH and large logs

Diagnose failures via SSH and large logs Troubleshooting Large Logs Over SSH and Designing Centralized Logging Context You are on-call for a productio...

System Design
10
0
129 people solved
Aug 1, 2025
Ramp logo
Ramp
Medium
Software Engineer Locked

Build a simplified Wordle game in React

This question evaluates a candidate's competency in React-based front-end development, covering component design, state management, asynchronous HTTP ...

Coding & Algorithms
20
0
160 people solved
Jan 18, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Write SQL for CTR and Revenue

This question evaluates proficiency in SQL-based data manipulation and analytics, focusing on joins across event and reference tables, time-of-day buc...

Data Manipulation (SQL/Python)
13
1
91 people solved
Mar 12, 2026
TestGorilla logo
TestGorilla
Medium
Software Engineer

Assess Spring IoC, AOP, JDBC, Security

Assess Spring IoC, AOP, JDBC, Security Spring Framework — Multi-part Questions Context: You are building/maintaining a Spring-based service for a take...

Software Engineering Fundamentals
10
0
73 people solved
Jul 31, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design ad clickstream analytics pipeline

Design ad clickstream analytics pipeline Design an end-to-end advertising clickstream ingestion and analytics platform that ingests events through Kaf...

System Design
12
0
87 people solved
Jul 31, 2025
OneMain Financial logo
OneMain Financial
Easy
Data Scientist

Explain decision trees and tree ensembles

Prompt 1. Explain how a decision tree works for classification or regression. 2. How does the tree choose a split (objective functions for classificat...

Machine Learning
10
0
73 people solved
Dec 1, 2025
Databricks logo
Databricks
Medium
Software Engineer Locked

Partition a Target String by Source Substrings

This question evaluates understanding of string algorithms and optimal partitioning, specifically substring matching and minimizing the number of cont...

Coding & Algorithms
3
0
19 people solved
May 14, 2026
Whatnot logo
Whatnot
Medium
Machine Learning Engineer

Design trending livestream discovery

Design a system for a live-commerce platform that surfaces trending livestreams to users. Assume an ML model for scoring trendiness or relevance alrea...

ML System Design
7
0
118 people solved
Jan 17, 2026
Bytedance logo
Bytedance
Hard
Data Scientist

Explain deployment, retrieval, and regularization

You are interviewing for a machine-learning role at a large-scale short-video platform. Answer the following conceptual questions. 1. Under tight GPU ...

Machine Learning
2
0
53 people solved
Jan 17, 2026
Meta logo
Meta
Easy
Data Scientist Locked

Compute probability an account is fake

This question evaluates understanding of conditional probability and Bayesian reasoning, specifically interpreting base rates alongside true positive ...

Statistics & Math
28
1
448 people solved
Jan 17, 2026
Microsoft logo
Microsoft
Easy
Data Scientist

Compute and plot a precision–recall curve

Precision–Recall (PR) curve coding / evaluation You are given a binary classifier’s outputs on a dataset: - y_true: array of true labels in \(\{0,1\}\...

Machine Learning
8
0
121 people solved
Jan 17, 2026
PayPal logo
PayPal
Easy
Data Scientist Locked

Design and evaluate a fraud detection strategy

This question evaluates fraud domain knowledge, quantitative model evaluation, metrics and diagnostic design, operational strategy formulation, segmen...

Analytics & Experimentation
6
0
98 people solved
Jan 17, 2026
Meta logo
Meta
Medium
Data Scientist

Design marketplace experiments at DoorDash

You are interviewing for a product data role at DoorDash. Consider the following marketplace scenarios. 1. Top Dasher program DoorDash runs a status...

Analytics & Experimentation
6
0
77 people solved
Mar 11, 2026
Google logo
Google
Medium
Software Engineer

Check if all substrings are dictionary words

You are given a string s (letters only) and access to an English dictionary dict (a set of valid words). Return true if every contiguous substring of ...

Coding & Algorithms
33
0
319 people solved
Mar 11, 2026
Replit logo
Replit
Easy
Software Engineer

Compress editor keystrokes into insert/delete/skip

You are implementing a simplified collaborative editor sync format. You are given: - An initial document string doc. - A list of user input operations...

Coding & Algorithms
8
0
69 people solved
Mar 11, 2026
ZipHQ logo
ZipHQ
Hard
Software Engineer

Find shortest path on infinite grid

You are given an infinite 2D grid with integer coordinates. From a cell (x, y) you may move in 4 directions (North/South/East/West) by 1 cell per move...

Coding & Algorithms
51
0
408 people solved
Mar 11, 2026
DoorDash logo
DoorDash
Medium
Machine Learning Engineer

How would you target promotions to grow consumers?

ML / Growth Scenario You own a system that sends promotion offers (e.g., "$10 off", "free delivery") to consumers to increase growth. Prompt Design an...

Machine Learning
13
0
129 people solved
Oct 17, 2025
Aeonea logo
Aeonea
Medium
Software Engineer

Fill missing values with means

You are given a pandas DataFrame df with missing values in multiple numeric columns. Write a concise pandas expression to replace NaNs in each numeric...

Data Manipulation (SQL/Python)
6
0
73 people solved
Sep 6, 2025