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
Databricks logo
Databricks
Medium
Software EngineerNew Grad

Design KV store with sliding-window average QPS

Problem Design an in-memory key–value store that supports mutation operations and can report the average QPS (queries per second) over a recent time w...

Coding & Algorithms
27
0
363 people solved
Dec 17, 2025
Point72 logo
Point72
Medium
Machine Learning Engineer

Find the Smallest String After One Decrement

You are given a string s consisting only of lowercase English letters. You must perform exactly one operation: 1. Choose one non-empty contiguous subs...

Coding & Algorithms
2
0
23 people solved
Jan 21, 2026
LinkedIn logo
LinkedIn
Hard
Data Scientist Locked

How to diagnose traffic and measure relevance?

This question evaluates a data scientist's skills in traffic diagnostics, instrumentation validation, user-path and navigation analysis, causal reason...

Analytics & Experimentation
2
0
49 people solved
Jan 21, 2026
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Design an ads ranking system with calibration

This question evaluates a candidate's ability to design scalable, low-latency online machine learning systems for ads ranking, covering competencies i...

ML System Design
11
0
164 people solved
Jan 21, 2026
Elastic logo
Elastic
Medium
Software Engineer

Implement log aggregation in React

React Coding: Log stream aggregation You are building a small React feature that displays real-time statistics from a log stream. Log event format Eac...

Coding & Algorithms
8
0
61 people solved
Nov 13, 2025
Yahoo logo
Yahoo
Medium
Machine Learning EngineerSenior+

Explain Your Project and Manager Feedback

You are interviewing for a Machine Learning Engineer role on a news product. Answer the following behavioral questions clearly and concisely: 1. Walk ...

Behavioral & Leadership
1
0
23 people solved
Feb 28, 2026
Lyft logo
Lyft
Hard
Data Scientist

How to Target Coupon Users

A ride-sharing company such as Lyft wants to launch a coupon campaign to increase commuter rides, but the coupon budget is limited. How would you anal...

Analytics & Experimentation
11
0
138 people solved
Dec 16, 2025
Walmart Labs logo
Walmart Labs
Medium
Software Engineer

Minimize the Maximum Edge on a Path

Minimize the Maximum Edge on a Path You are given a weighted undirected graph and two vertices, start and target. Define the stress of a path as the l...

Coding & Algorithms
0
0
6 people solved
Apr 12, 2026
Pinduoduo logo
Pinduoduo
Medium
Software EngineerSenior+

Navigate a Senior Engineering HR Interview

Navigate a Senior Engineering HR Interview Prepare a coherent set of answers for an HR conversation covering current scope, motivation, company intere...

Behavioral & Leadership
1
0
10 people solved
Apr 12, 2026
Uber logo
Uber
Medium
Software Engineer

Implement A Concurrent Download De-Duplication Layer

Design and implement a downloader that accepts many URL download requests concurrently. Requests for different URLs should run independently. If sever...

Software Engineering Fundamentals
1
0
12 people solved
Apr 12, 2026
Harvey logo
Harvey
Medium
Software Engineer

Implement a Hierarchical File System

Implement an in-memory hierarchical file system. Create a class FileSystem with the following methods: - FileSystem() initializes an empty file system...

Coding & Algorithms
0
0
13 people solved
Apr 12, 2026
Molocoads logo
Molocoads
Hard
Software Engineer

Support Dynamic Range Sums

Implement a data structure over an integer array nums. Part 1: If the array never changes, support sumRange(left, right) that returns the sum of eleme...

Coding & Algorithms
2
0
39 people solved
Apr 12, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Identify and mitigate deduplication program risks

System Design: Robust File Deduplication in the Real World Context You are designing a file deduplication tool that scans large directory trees on one...

System Design
27
0
192 people solved
Aug 14, 2025
Jane Street logo
Jane Street
Medium
Data Scientist

Dice Duel: 30-Sided Die vs. 20-Sided Die with One Blind Reroll

Alice and Bob play a dice game. Alice has a fair 30-sided die (faces $1$ through $30$) and Bob has a fair 20-sided die (faces $1$ through $20$). Each ...

Machine Learning
5
0
39 people solved
Jul 17, 2025
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design a Retrieval-Augmented Generation (RAG) system

This question evaluates a candidate's ability to design production-grade Retrieval-Augmented Generation systems, testing competencies in information r...

ML System Design
6
0
102 people solved
Dec 15, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Implement SGD for linear regression and derive gradients

Prompt You are given a dataset of \(n\) 1D samples \(\{(x_i, y_i)\}_{i=1}^n\), where \(x_i\) and \(y_i\) are real numbers. We want to fit a linear mod...

Machine Learning
10
0
106 people solved
Dec 15, 2025
Amazon logo
Amazon
Medium
Machine Learning EngineerSenior+

Explain core ML concepts and diagnostics

You are in an ML breadth interview for a Senior Applied Scientist role. Answer the following conceptual questions clearly and practically (definitions...

Machine Learning
15
0
107 people solved
Dec 15, 2025
Jane Street logo
Jane Street
Easy
Software Engineer

Sort trade executions into a canonical order

You are building a small component in a trading system that consumes trade execution records from an upstream feed. The records may arrive out of orde...

Coding & Algorithms
58
0
414 people solved
Dec 15, 2025
Google logo
Google
Medium
Software Engineer

Answer common behavioral questions with follow-ups

Behavioral interview prompt set You are in a standalone Behavioral (BQ) interview. The interviewer asks straightforward, keyword-based questions and t...

Behavioral & Leadership
10
0
126 people solved
Dec 15, 2025
Snapchat logo
Snapchat
Medium
Machine Learning Engineer

Compare convolutions and transformers

Compare CNNs and Transformers Task Explain the key differences between convolutional neural networks (CNNs) and transformer architectures. Specificall...

Machine Learning
12
0
136 people solved
Aug 13, 2025