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
Google logo
Google
Hard
Software Engineer Locked

Minimize maximum height along a grid path

This question evaluates algorithmic pathfinding and graph-modeling skills, specifically reasoning about grid-based route selection where the objective...

Coding & Algorithms
11
0
71 people solved
Jan 4, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Design a ride-hailing ETA system

This question evaluates competency in applied machine learning and data science, including ETA system and product design, feature and label engineerin...

Machine Learning
2
0
48 people solved
Jan 3, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Derive a CDF from a PDF

This question evaluates a candidate's understanding of the relationship between probability density functions and cumulative distribution functions, i...

Statistics & Math
5
0
43 people solved
Jan 3, 2026
Meta logo
Meta
Hard
Software Engineer

Design an online coding judge

Question Design an online coding practice and judging platform (think LeetCode / HackerRank / Codeforces) where users submit solutions that are compil...

System Design
5
0
46 people solved
Aug 14, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Implement a generic tree Node class

Design and implement a Node class for a mutable rooted tree. Requirements: store value, parent, and ordered children; support add_child, remove, move_...

Coding & Algorithms
10
0
74 people solved
Aug 14, 2025
Anthropic logo
Anthropic
Medium
Software Engineer

Design file deduplication across nested directories

Design and implement a file deduplication tool that, given a root directory, identifies groups of duplicate files. Requirements: traverse nested direc...

Coding & Algorithms
21
0
206 people solved
Aug 14, 2025
Asana logo
Asana
Medium
Software Engineer

Compute Products Excluding Each Index

You are given an integer array nums of length n. Return an array answer such that answer[i] equals the product of every element of nums except nums[i]...

Coding & Algorithms
1
0
12 people solved
Apr 2, 2026
Datadog logo
Datadog
Medium
Software Engineer AI

Implement a Snowflake Query Client

Build a lightweight query client for a Snowflake-like data warehouse. Implement a QueryClient that can: 1. Connect to the warehouse using configuratio...

Coding & Algorithms
6
0
56 people solved
Apr 2, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Describe improving workflow and challenges

Behavioral: Improving a Team's Development Workflow You are a software engineer in a technical screen. Answer using a concise, structured story (e.g.,...

Behavioral & Leadership
4
0
78 people solved
Aug 13, 2025
PayPal logo
PayPal
Medium
Software Engineer

Find k most frequent in linear time

Given an integer array nums and an integer k (1 ≤ k ≤ number of distinct values in nums), return any k values that appear most frequently. Implement a...

Coding & Algorithms
8
0
101 people solved
Aug 13, 2025
Netflix logo
Netflix
Medium
Machine Learning Engineer

Explain tokenization and Transformer variants

Tokenization and Transformer Architecture Deep Dive You are asked to explain common tokenization approaches and modern Transformer design choices used...

Machine Learning
8
0
113 people solved
Aug 13, 2025
Motive logo
Motive
Medium
Software Engineer

Fetch and parse JSON from REST API

Question Set up a minimal coding environment from scratch and write runnable code that fetches and processes data from a REST API. You are given an en...

Data Manipulation (SQL/Python)
8
0
68 people solved
Aug 13, 2025
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Implement a longest-match tokenizer

This question evaluates string-processing and algorithmic implementation skills for greedy longest-match tokenization, including handling runs of unma...

Coding & Algorithms
4
1
73 people solved
Oct 19, 2025
Databricks logo
Databricks
Medium
Software EngineerSenior+

Find optimal commute mode in a city graph

You are designing a route planner that suggests the best way to commute between two points in a city using different transportation modes. The city is...

Coding & Algorithms
30
0
284 people solved
Oct 19, 2025
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Explain CAP, indexing, locks, and logs

This question evaluates knowledge of distributed systems concepts (CAP theorem), database internals (index types and logging), and concurrency control...

Software Engineering Fundamentals
5
0
37 people solved
Jan 2, 2026
PayPal logo
PayPal
Hard
Data Scientist

Design a fraud mitigation strategy under constraints

You are given a one-page case during a hiring manager round for a Fraud Data Scientist role. Current state: - The existing fraud model is performing p...

Analytics & Experimentation
9
0
77 people solved
Jan 2, 2026
TikTok logo
TikTok
Medium
Software Engineer

Implement list, form, and API rendering with pitfalls

Take-home: Build a Small Frontend App (List + Form + API + A11y) Goal Implement a simple web app that demonstrates core frontend skills: rendering fro...

Software Engineering Fundamentals
7
0
51 people solved
Aug 12, 2025
Whatnot logo
Whatnot
Easy
Software Engineer Locked

Count User Journey Prefixes

This question evaluates the ability to reconstruct per-user action sequences from timestamped logs, aggregate and count path prefixes, and apply data-...

Coding & Algorithms
10
0
89 people solved
Apr 1, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Implement fast power and k-palindrome

This question evaluates numerical algorithm design and string algorithm skills, focusing on efficient exponentiation with negative exponents and deter...

Coding & Algorithms
5
0
44 people solved
Apr 1, 2026
Scale AI logo
Scale AI
Medium
Software EngineerNew Grad

Schedule Ready Tasks by Deadline

You are building a workflow scheduler. Each task has: - a unique task_id - an integer deadline - an optional list of prerequisite tasks that must be c...

Coding & Algorithms
63
0
485 people solved
Apr 1, 2026