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

Design an online bookstore for browse and purchase

Design an online bookstore for browse and purchase System Design: Online Bookstore (Browse + Purchase) Context Design an online bookstore that allows ...

System Design
3
0
54 people solved
Jul 31, 2025
TikTok logo
TikTok
Medium
Machine Learning Engineer

Find and count target-sum subarrays

Find and count target-sum subarrays Given an integer array nums and an integer target, implement: ( 1) a function that returns true if any non-empty c...

Coding & Algorithms
6
0
55 people solved
Jul 31, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Handle recruiter transparency and background checks

Handle recruiter transparency and background checks Candidate Disclosures, Background Checks, and Professional Communication Context You are interview...

Behavioral & Leadership
17
0
123 people solved
Jul 31, 2025
Meta logo
Meta
Medium
Machine Learning Engineer

Solve matrix diagonal and sliding-window statistics

Solve matrix diagonal and sliding-window statistics 1) Given an m x n integer matrix, determine whether every top-left to bottom-right diagonal has th...

Coding & Algorithms
4
0
75 people solved
Jul 31, 2025
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Write SQL for rankings, state, and aggregations

This question evaluates a candidate's competency in SQL data manipulation, covering ranking/top-N queries, aggregations and percentage calculations, t...

Data Manipulation (SQL/Python)
7
0
51 people solved
Feb 21, 2026
Google logo
Google
Medium
Machine Learning Engineer

Implement a Web Crawler with BFS and DFS

Implement a simple web crawler in Python. You are given: - A starting URL. - A function get_links(url) -> list[str] that returns all outgoing links fr...

Coding & Algorithms
1
0
18 people solved
Dec 24, 2025
TikTok logo
TikTok
Easy
Data Scientist Locked

Design and decompose Trust & Safety risk metrics

This question evaluates a data scientist's competency in Trust & Safety metric design, including defining primary and diagnostic metrics, decomposing ...

Analytics & Experimentation
9
0
78 people solved
Nov 1, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Find possible robot positions

This question evaluates a candidate's ability to reason about grid traversal, boundary conditions, directional visibility counting, and constraint-bas...

Coding & Algorithms
5
0
99 people solved
Feb 21, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer Locked

Design a Recency-Eviction Cache

This question evaluates proficiency with data structures and algorithmic design for implementing a fixed-capacity key-value cache that enforces recenc...

Coding & Algorithms
5
0
38 people solved
Feb 21, 2026
Citadel logo
Citadel
Hard
Data Scientist Locked

Sort a Nearly Sorted Array

This question evaluates algorithm design and analysis skills, focusing on handling nearly-sorted arrays and reasoning about time and space complexity ...

Coding & Algorithms
6
0
67 people solved
Feb 21, 2026
Datadog logo
Datadog
Medium
Software Engineer

Match logs to prior queries

Question You receive a stream of strings, each beginning with either "Q:" (query) or "L:" (log). A query consists of space-separated words and should ...

Coding & Algorithms
18
0
68 people solved
Jul 29, 2025
Netflix logo
Netflix
Medium
Software Engineer

Show Behavioral Fit and Experience

Show Behavioral Fit and Experience Behavioral and Leadership HR Screen — Software Engineer (Netflix) Context: This is an HR screen focused on your bac...

Behavioral & Leadership
35
0
219 people solved
Jul 29, 2025
Stripe logo
Stripe
Medium
Software Engineer

Discuss challenging project examples

Discuss challenging project examples Behavioral and Leadership Interview Prompt — Software Engineer (Onsite) You will be assessed on problem-solving, ...

Behavioral & Leadership
13
0
66 people solved
Jul 29, 2025
Google logo
Google
Medium
Software Engineer

Show leadership and teamwork

Show leadership and teamwork Behavioral Leadership Question Context You are in an onsite software engineering behavioral and leadership interview. The...

Behavioral & Leadership
12
0
57 people solved
Jul 29, 2025
DRW logo
DRW
Hard
Machine Learning Engineer

Train LinearSVC to beat a hidden baseline

Train LinearSVC to beat a hidden baseline You are given a dataset and a fixed model class: LinearSVC. Implement train(X_train, y_train) and test(X_tes...

ML System Design
3
0
36 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Design a basic credit card system

This question evaluates object-oriented design and domain modeling skills, including class responsibilities, relationships, state management, transact...

Software Engineering Fundamentals
2
0
47 people solved
Oct 31, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern

Describe failure, conflict, metrics, and AI lessons

The interview included several behavioral prompts with deep follow-up questions. Prepare clear STAR-style stories for the following: - Tell me about a...

Behavioral & Leadership
3
0
55 people solved
Oct 31, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Design Slack-like messaging platform

Design a Slack-like team collaboration product. Core features: - Workspaces (tenants), users, and channels (public/private) - Direct messages (1:1 and...

System Design
12
0
95 people solved
Oct 31, 2025
Google logo
Google
Medium
Data ScientistIntern Locked

Generate Uniform Samples and Estimate Percentiles

Solve two Google statistics questions: sample uniformly from a square using rand01 and estimate percentiles from histogram buckets using cumulative co...

Statistics & Math
7
0
60 people solved
Mar 27, 2025
Google logo
Google
Medium
Software Engineer Locked

Determine Whether a Word Exists in a Graph

This question evaluates proficiency in graph algorithms and backtracking techniques, including traversal strategies, cycle avoidance, and state manage...

Coding & Algorithms
6
2
37 people solved
May 2, 2026