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
Roblox logo
Roblox
Hard
Data ScientistIntern

Compute DiD and validate parallel trends

You are given observational/experiment-like panel data as three equal-length arrays: - period[i]: an integer time period label for observation i (e.g....

Analytics & Experimentation
10
0
90 people solved
Nov 23, 2025
Roblox logo
Roblox
Hard
Data ScientistIntern

Compute sample size and Bayes posterior

You are implementing two small statistical utilities. Part A — Power / sample size (two-sample z-test) - Input: - x: a 1D numeric array of historica...

Statistics & Math
6
0
58 people solved
Nov 23, 2025
xAI logo
xAI
Hard
Machine Learning Engineer Locked

Implement Distributed Matrix Multiplication

This question evaluates distributed systems and parallel algorithm skills, specifically distributed matrix multiplication, data partitioning (row- and...

Coding & Algorithms
5
0
51 people solved
Jan 28, 2026
Tubitv logo
Tubitv
Medium
Machine Learning Engineer

Implement K-Means and compare with GMM

Implement K-Means clustering from scratch for a dataset X of shape (n_samples, n_features) and a target number of clusters k. Your implementation shou...

Coding & Algorithms
3
0
57 people solved
Jan 28, 2026
Instacart logo
Instacart
Medium
Software Engineer

Explain your biggest project with trade-offs

Behavioral interview (Amazon-style). 1) Pick the biggest/most impactful project you worked on. Explain the problem, your role, the technical design, a...

Behavioral & Leadership
7
0
84 people solved
Jan 28, 2026
Anthropic logo
Anthropic
Medium
Machine Learning Engineer

Describe communication to resolve ambiguity

Describe communication to resolve ambiguity Behavioral: Proactive Communication to Improve Outcomes Context: In a technical screen for a Machine Learn...

Behavioral & Leadership
14
0
158 people solved
Aug 1, 2025
Intuit logo
Intuit
Easy
Software Engineer Locked

Add One to Digit Array

This question evaluates proficiency in array manipulation and elementary arithmetic on digit sequences, specifically carrying operations and edge-case...

Coding & Algorithms
1
2
21 people solved
Jun 5, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Implement Datacenter Router Commands

This question evaluates proficiency in stateful command processing, input validation, geospatial computation (Haversine distance), deterministic sorti...

Coding & Algorithms
2
0
16 people solved
Jun 5, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Merge two N-ary trees by key rules

You are given two N-ary trees A and B. Each node has: - key (string): unique among siblings (i.e., within a node’s children list, no two children shar...

Coding & Algorithms
40
0
279 people solved
Nov 21, 2025
Affirm logo
Affirm
Easy
Software Engineer

Design a High-Card Game with a Persistent Tie Pot

Design a High-Card Game with a Persistent Tie Pot Model and implement a card game. A shuffled deck is split evenly among two players. In each round, e...

Software Engineering Fundamentals
4
0
38 people solved
Oct 9, 2024
LinkedIn logo
LinkedIn
Hard
Software Engineer

Design Top K ranking system

Design Top K ranking system System Design: Real-time Top-K from a Large/Streaming Dataset Context You receive a continuous, high-volume stream of even...

System Design
18
0
158 people solved
Jul 29, 2025
Anthropic logo
Anthropic
Medium
Software Engineer

Explain career goals and cultural alignment

Explain career goals and cultural alignment Behavioral: Long‑Term Goals and Mission Alignment (Software Engineer, Onsite) Prompt You are interviewing ...

Behavioral & Leadership
23
0
151 people solved
Jul 29, 2025
Oracle logo
Oracle
Medium
Software Engineer

Return a valid course completion order

You are given an integer n representing n courses labeled 0..n-1 and a list of prerequisite pairs prerequisites, where each pair [a, b] means you must...

Coding & Algorithms
11
0
98 people solved
Jan 26, 2026
DRW logo
DRW
Medium
Data Scientist

Compute Markov steady state and expectations

Compute Markov steady state and expectations Probability and Game Theory: Three Sub-questions Context: The exact transition matrix P (for Q1) and the ...

Statistics & Math
7
0
75 people solved
Jul 28, 2025
Meta logo
Meta
Medium
Software Engineer

Design a marketplace price tracking service

Design a large-scale product price tracking service similar to an e-commerce price monitor. Users can submit product links from a major online marketp...

System Design
2
0
44 people solved
Mar 4, 2026
Oscar logo
Oscar
Medium
Software Engineer

Solve Morse and Network Access Tasks

Solve the following two independent coding problems. Problem 1: Convert Between Text and Morse Code You are given the standard Morse-code mapping for ...

Coding & Algorithms
3
0
48 people solved
Apr 15, 2026
Anthropic logo
Anthropic
Hard
Software Engineer Locked

Estimate VRAM and compare model parallelism

This question evaluates understanding of GPU memory budgeting for large matrix multiplications and the comparative trade-offs between pipeline and ten...

ML System Design
34
0
278 people solved
Nov 19, 2025
Walmart Labs logo
Walmart Labs
Hard
Software Engineer

Design airplane seatback entertainment with UI focus

Design airplane seatback entertainment with UI focus Design an In‑Seat Personal Entertainment System (IFE) — UI/Interaction-Focused System Design Cont...

System Design
5
0
76 people solved
Jul 26, 2025
Confluent logo
Confluent
Medium
Software Engineer

Explain algorithm strategies and complexity

Explain algorithm strategies and complexity You are faced with a complex, potentially ambiguous coding problem. Describe how you would clarify require...

Coding & Algorithms
7
0
94 people solved
Jul 26, 2025
Tesla logo
Tesla
Medium
Software Engineer

Describe how you use Kubernetes

Describe how you use Kubernetes System Design: Practical Kubernetes (K8s) Use and Operations Context: In a technical screen, you are asked to describe...

System Design
15
0
132 people solved
Jul 26, 2025