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
Palo logo
Palo
Medium
Software Engineer

Design a Scheduler and Metrics Platform

Design a cloud-native job scheduling and metrics monitoring platform for a Kubernetes-like environment. The platform should allow internal users to su...

System Design
2
0
20 people solved
Feb 20, 2026
Headway logo
Headway
Hard
Software Engineer Locked

Implement Journey Counter and Speeder Detector

This question evaluates parsing, time-series processing, and algorithmic reasoning for detecting complete journeys and speed violations from structure...

Coding & Algorithms
6
0
91 people solved
Feb 20, 2026
Google logo
Google
Medium
Software Engineer Locked

Solve array-sum and city-community problems

This question evaluates array-processing and grid/graph connectivity skills, covering counting subarrays with a target sum and identifying connected b...

Coding & Algorithms
6
0
62 people solved
Feb 20, 2026
Meta logo
Meta
Easy
Data Scientist

How would you evaluate a new ads ranking algorithm?

Context You work at a social network company with an ads marketplace. The company has an existing ads ranking algorithm currently used to select and o...

Analytics & Experimentation
13
0
99 people solved
Oct 30, 2025
OpenAI logo
OpenAI
Hard
Software Engineer

Design a fullstack app with frontend focus

Design a fullstack app with frontend focus Design a Full‑Stack Web Application (Frontend Emphasis) Context You are given a 2–3 page requirements docum...

System Design
15
0
124 people solved
Jul 27, 2025
Confluent logo
Confluent
Hard
Software Engineer

Explain variadic functions

Explain variadic functions Variadic Functions in Two Languages + Typesafe Variadic Logger Context Variadic functions accept a variable number of argum...

Software Engineering Fundamentals
9
0
108 people solved
Jul 27, 2025
Lyft logo
Lyft
Medium
Software Engineer

Implement paginated retrieval of transactions

Implement paginated retrieval of transactions Given a large list of transaction records (id, userId, amount, createdAt), implement APIs to return tran...

Coding & Algorithms
11
0
169 people solved
Jul 27, 2025
LinkedIn logo
LinkedIn
Medium
Machine Learning Engineer Locked

Implement K-Means and Explain Convergence

Implement K-means clustering in Python and explain convergence. Covers assignment and update steps, stopping criteria, empty clusters, objective funct...

Coding & Algorithms
6
0
45 people solved
May 3, 2025
Apple logo
Apple
Medium
Machine Learning Engineer

Describe recent project experiences

Describe recent project experiences Behavioral: Walk Through Two Recent ML Projects Context: Technical screen for a Machine Learning Engineer. Focus o...

Behavioral & Leadership
4
0
74 people solved
Jul 26, 2025
Tesla logo
Tesla
Medium
Software Engineer

Explain HTTP methods and your usage

Explain HTTP methods and your usage HTTP Methods, Idempotency, Safety, and Practical Use Context You design and consume RESTful APIs for high-throughp...

System Design
15
0
108 people solved
Jul 26, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Compute minimum-cost service cover

You are given: ( 1) a list of rental service packages, where each package contains a set of services (strings) and a non-negative price, e.g., [(["wif...

Coding & Algorithms
22
0
181 people solved
Jul 26, 2025
Citibank logo
Citibank
Medium
Data Scientist

Compute EL and RWA from loan data

Compute EL and RWA from loan data Task: Compute Portfolio EL and RWA from Loan-Level PD, LGD, EAD Context You are given an anonymized, loan-level data...

Machine Learning
6
0
46 people solved
Jul 26, 2025
Citibank logo
Citibank
Medium
Data Scientist

Handle missing values for LGD modeling

Handle missing values for LGD modeling Handling Missing Values for LGD Modeling Context You are building a Loss Given Default (LGD) model using accoun...

Machine Learning
3
0
57 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
83 people solved
Jul 26, 2025
PayPal logo
PayPal
Hard
Data Scientist

Compute Variance from a Python List

Given a Python list of numeric values, write a function to compute the variance without using external libraries such as NumPy or pandas. Clarify any ...

Coding & Algorithms
9
0
83 people solved
Oct 29, 2025
Pitchbook logo
Pitchbook
Easy
Software Engineer

Implement Euclidean distance and k-nearest neighbors

You are working with points in an n-dimensional Euclidean space, where each point is represented as a list (or array) of numeric coordinates. Assume: ...

Coding & Algorithms
4
0
51 people solved
Oct 29, 2025
Pinduoduo logo
Pinduoduo
Easy
Software Engineer

Find next greater element for subset

You are given two integer arrays query and nums. - All elements in nums are distinct. - Every element in query also appears in nums. For each value x ...

Coding & Algorithms
3
0
37 people solved
Feb 19, 2026
Figma logo
Figma
Medium
Data Scientist

Describe impact, prioritization, and stakeholder management

Describe impact, prioritization, and stakeholder management Behavioral interview (Hiring Manager) You are interviewing for a data/ML role. Answer the ...

Behavioral & Leadership
16
0
113 people solved
Jul 25, 2025
LinkedIn logo
LinkedIn
Hard
Data Scientist

One of the most comprehensive LinkedIn DS Product Cases!

You are a Data Scientist working on LinkedIn's profile experience. Define, diagnose, and improve profile completion. Answer these questions: 1. How wo...

Analytics & Experimentation
15
0
76 people solved
Apr 30, 2025
Uber logo
Uber
Medium
Data ScientistIntern

Design Rideshare Marketplace Causal Analyses

You are a data scientist at a ride-hailing marketplace. Answer the following case prompts as if you were advising product, operations, and marketplace...

Analytics & Experimentation
2
0
20 people solved
Feb 18, 2026