Tech Interview Questions

Practice 9,031+ 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.0k Questions 480 Companies08.05.2026
Showing 20 results
Role
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Implement IP Address Arithmetic

This question evaluates proficiency in IP addressing, parsing and validation, binary/address-space arithmetic, CIDR subnet calculation, and formatting...

Coding & Algorithms
5
3
38 people solved
May 12, 2026
Hebbia logo
Hebbia
Hard
Software Engineer

Detect a Winner on a 3x3 Tic-Tac-Toe Board

Detect a Winner on a 3x3 Tic-Tac-Toe Board Implement tic_tac_toe_winner(board) for a completed or partially completed 3x3 board. Each cell is "X", "O"...

Coding & Algorithms
0
0
4 people solved
Jun 6, 2026
Figma logo
Figma
Hard
Data Scientist

Describe your most and least engaging work

You are interviewing for a Data Scientist role. The hiring manager asks: What kinds of work have been the most engaging for you, and what kinds have b...

Behavioral & Leadership
16
0
166 people solved
Apr 9, 2026
Meta logo
Meta
Medium
Software EngineerSenior+

Prepare Leadership And Collaboration Stories

Prepare concise behavioral interview answers for the following prompts. Use specific examples from your own experience, quantify impact where possible...

Behavioral & Leadership
2
0
32 people solved
Apr 9, 2026
Figma logo
Figma
Hard
Data Scientist Locked

How would you measure product success?

This question evaluates a data scientist's ability to design and interpret product analytics for a subscription-based, seat-licensed collaborative pro...

Analytics & Experimentation
9
0
122 people solved
Apr 9, 2026
Bytedance logo
Bytedance
Hard
Software Engineer Locked

Least Frequently Used (LFU) Cache

This question tests practical data structure design by requiring an O(1) implementation of a Least Frequently Used cache with tie-breaking by recency....

Coding & Algorithms
1
0
12 people solved
Jun 20, 2026
Antra logo
Antra
Medium
Software Engineer Locked

Java and Object-Oriented Design Fundamentals

This question assesses mastery of software engineering fundamentals across object-oriented design, Java collections, and the Spring framework. It test...

Software Engineering Fundamentals
2
0
22 people solved
Jun 20, 2026
Confluent logo
Confluent
Medium
Software EngineerSenior+

Search Words and Phrases in a Large Line-Oriented File

Search Words and Phrases in a Large Line-Oriented File A text file contains one sentence per line and may be much larger than memory. Design an API th...

Software Engineering Fundamentals
2
0
29 people solved
Jan 1, 2026
Mercor logo
Mercor
Medium
Software Engineer

Compare streaming frameworks and delivery semantics

Name popular streaming/data-processing frameworks (e.g., Kafka-based stacks, Flink, Spark Streaming, etc.). Explain at-most-once, at-least-once, and e...

System Design
13
0
143 people solved
Jan 17, 2026
Waymo logo
Waymo
Easy
Data Scientist Locked

Use Bayes to interpret a broken radar alarm

This question evaluates Bayesian probabilistic reasoning, understanding of base rates, sensitivity/specificity, decision-theoretic trade-offs between ...

Analytics & Experimentation
14
0
198 people solved
Jan 17, 2026
Scale AI logo
Scale AI
Medium
Software Engineer

Explain worker state machine load balancer design

You are designing a lightweight load balancer for a Python-based backend service that dispatches tasks to a pool of worker processes. Describe how you...

Software Engineering Fundamentals
23
0
245 people solved
Dec 8, 2025
Nextdoor logo
Nextdoor
Medium
Machine Learning Engineer

Build a model using only pandas/numpy

You are given a tabular dataset as a pandas DataFrame df with: - Feature columns (numeric and/or categorical) - A target column y (either binary class...

Machine Learning
37
0
250 people solved
Mar 1, 2026
TikTok logo
TikTok
Medium
Software Engineer

Explain project choices, metrics, and AI usage

Behavioral / Project deep-dive You’ll be asked to walk through a recent project you worked on (preferably one with meaningful technical and business i...

Behavioral & Leadership
7
0
68 people solved
Mar 1, 2026
Adobe logo
Adobe
Medium
Software Engineer Locked

Traverse a path and print directory tree

This question evaluates proficiency with filesystem I/O, path validation, directory traversal, recursion and error handling in Node.js, plus the abili...

Coding & Algorithms
13
0
131 people solved
Feb 11, 2026
xAI logo
xAI
Easy
Software Engineer Locked

Design a multi-level API rate limiter

This question evaluates understanding of rate limiting, distributed system design, concurrency control, scalability, and operational observability whe...

System Design
28
0
284 people solved
Feb 11, 2026
Bytedance logo
Bytedance
Medium
Data Scientist

Calculate Triangle Probability From Broken Stick

A stick of length 1 is broken into three pieces by choosing two cut points independently and uniformly at random along the stick, then sorting the two...

Statistics & Math
10
0
82 people solved
Apr 19, 2026
LinkedIn logo
LinkedIn
Easy
Software Engineer Locked

Design a Top-K Ranking Service

This question evaluates a candidate's ability to design scalable, real-time Top-K ranking services, testing competencies in distributed systems, strea...

System Design
6
0
87 people solved
Mar 10, 2026
Palantir logo
Palantir
Hard
Software Engineer

Design a scalable interview question bank

Design a scalable interview question bank System Design: Scalable Interview Question Bank Platform Context Design a multi-tenant SaaS platform for org...

System Design
35
0
281 people solved
Jul 26, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design a Multi-Provider Financial Dashboard

Design a financial dashboard that shows account balances, stock holdings, cryptocurrency holdings, and derived portfolio metrics. Data arrives from mu...

System Design
1
0
16 people solved
Feb 2, 2026
Meta logo
Meta
Medium
Software Engineer

Describe difficult project, conflict, and PM collaboration

Behavioral round (15 minutes) Answer the following prompts using concrete examples from your experience. 1. Most difficult project - Describe the m...

Behavioral & Leadership
5
0
73 people solved
Dec 15, 2025