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

Explain resume projects and behavioral responses

Behavioral Interview Prompt (STAR) Context: You are interviewing for a Software Engineer role in an onsite behavioral/leadership round. Using the STAR...

Behavioral & Leadership
3
0
65 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Machine Learning EngineerSenior+

Explain Logistic Regression Fundamentals

Logistic Regression from First Principles Assumptions and Notation - Binary classification with labels y ∈ {0, 1} and features x ∈ R^d. - Linear score...

Machine Learning
4
0
64 people solved
Sep 6, 2025
Adobe logo
Adobe
Medium
Software Engineer

Determine task order with prerequisites

You are given n tasks labeled 0..n−1 and a list of prerequisite pairs (a, b) meaning task b must be completed before task a. Determine one valid order...

Coding & Algorithms
10
0
70 people solved
Sep 6, 2025
Adobe logo
Adobe
Hard
Software Engineer

Analyze end-to-end request latency

Question Provide a detailed approach to analyze and improve the end-to-end latency of a web request. The request flows from a browser through a CDN, l...

System Design
13
0
97 people solved
Sep 6, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer

Explain ML compilation optimizations and hardware fit

ML Compiler Optimizations and Platform Targeting Context You are designing a compiler/runtime stack for deep learning workloads that must run efficien...

ML System Design
8
0
78 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Compute split-stay listing pairs

Given a set of Airbnb listings, each with availability represented as a sorted list of day integers, and a requested inclusive date range [S, E], comp...

Coding & Algorithms
55
0
539 people solved
Sep 6, 2025
Coinbase logo
Coinbase
Hard
Software Engineer

Design account opening workflow

System Design: Online Bank Account Opening Workflow Context You are designing a high-scale online bank account opening workflow for web and mobile cli...

System Design
7
1
117 people solved
Sep 6, 2025
Scale AI logo
Scale AI
Medium
Software Engineer

Implement Hook and Modify UI Interactions

Task: Implement a custom React hook and wire UI interactions Context You are working in a React app that already includes a basic API module and a sim...

Software Engineering Fundamentals
12
0
160 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find longest common contiguous subarray

Given two integer arrays A and B, find the length of the longest contiguous subarray that appears in both arrays. If multiple exist, return any one pa...

Coding & Algorithms
4
0
42 people solved
Sep 6, 2025
Uber logo
Uber
Hard
Machine Learning Engineer

Design real-time grid ETA for drivers

Real-Time Grid-ETA System Design You are tasked with designing a real-time system that maintains the remaining ETA for every driver currently located ...

ML System Design
22
0
258 people solved
Sep 6, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

Compare heap and stack memory

Compare heap and stack memory. Explain how each is allocated and freed, typical lifetimes of data stored there, access patterns and performance charac...

Coding & Algorithms
5
0
96 people solved
Sep 6, 2025
Snapchat logo
Snapchat
Hard
Software Engineer

Design a streaming ads system

System Design: Ad-Insertion Platform for Live and On-Demand Video Context You are designing an end-to-end ad-insertion platform for a consumer video s...

System Design
4
0
88 people solved
Sep 6, 2025
Citadel logo
Citadel
Hard
Software Engineer

Build models for housing and wind power prediction

Two-Part Machine Learning Take-Home Part 1 — Binary Classification: "Can Buy" vs "Cannot Buy" Given applicant and market data, design a binary classif...

ML System Design
9
0
105 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software Engineer

Design unit tests for grid navigation

Mouse-Maze Controller: Design a Comprehensive Unit Test Suite Context (assumptions to make the task self-contained) Assume we are testing a controller...

Software Engineering Fundamentals
3
0
64 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software Engineer

Clone list with random pointers

Question You are given the head of a singly linked list where each node has two pointers: next and random. The random pointer may be null or point to ...

Coding & Algorithms
3
0
47 people solved
Sep 6, 2025
Lyft logo
Lyft
Medium
Software Engineer

Print the K-th non-empty line

Given a large UTF-8 text file, write a program that prints the K-th non-empty line. Do not load the whole file into memory. Specify how you handle fil...

Data Manipulation (SQL/Python)
14
0
123 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software EngineerSenior+

Evaluate IP Access Rules

You are given a list of IPv4 access-control rules. Each rule consists of: - an action: allow or deny - a CIDR block such as 192.168.0.0/16 You are als...

Coding & Algorithms
15
0
204 people solved
Feb 17, 2026
Plaid logo
Plaid
Medium
Machine Learning Engineer

Find Banks From Identifier Mappings

Plaid receives institution metadata from multiple sources. You are given two mappings: 1. code_to_institution: a one-to-one mapping from a bank code t...

Coding & Algorithms
0
0
10 people solved
Apr 30, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Compute CDF from a PDF Function

This question evaluates a candidate's skills in numerical integration, applied numerical methods, and probability/statistics by requiring construction...

Coding & Algorithms
3
0
42 people solved
Apr 30, 2026
LinkedIn logo
LinkedIn
Medium
Data Scientist

Train with imbalanced sampled data

You are training a binary classifier on a very large dataset where the positive class is rare. Because the full dataset is too large to train on direc...

Machine Learning
8
0
64 people solved
Sep 5, 2025