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
LinkedIn logo
LinkedIn
Medium
Software EngineerSenior+ Locked

Solve substring and top‑K pair problems

This multi-part question evaluates algorithm design and data-structure proficiency across string processing (minimum window substring), pair-selection...

Coding & Algorithms
11
0
83 people solved
Oct 13, 2025
Intuit logo
Intuit
Medium
Software Engineer

Aggregate transactions by status and failure reasons (SQL)

You are given a table transactions with (at least) the following columns: - transaction_id (unique identifier) - status (e.g., SUCCESS, FAILED, PENDIN...

Software Engineering Fundamentals
8
0
90 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Software Engineer Locked

Design a game leaderboard service

This question evaluates a candidate's ability to design scalable, low-latency ranking services, testing competencies in distributed systems, data mode...

System Design
1
0
26 people solved
Oct 12, 2025
Anthropic logo
Anthropic
Hard
Software Engineer Locked

Build a least-recently-used cache

This question evaluates a candidate's competence in designing and implementing efficient in-memory cache mechanisms, focusing on data structures, evic...

Coding & Algorithms
4
0
35 people solved
Feb 8, 2026
Capital One logo
Capital One
Medium
Software EngineerSenior+

Place Pieces on a Grid

Given integers n and m, and an ordered list figures where each element is one of "A", "B", "C", "D", or "E", construct an n x m integer matrix grid. T...

Coding & Algorithms
5
0
63 people solved
Feb 8, 2026
Meta logo
Meta
Medium
Machine Learning Engineer AI Locked

Maximize Unique Letters

This question evaluates proficiency in combinatorial optimization, bit manipulation, and state-compression techniques for selecting subsets under uniq...

Coding & Algorithms
2
0
35 people solved
Feb 8, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Design an Instagram Stories feature

This question evaluates backend system design competencies including distributed systems, scalability, data modeling, API design, media storage/transc...

System Design
5
0
76 people solved
Feb 8, 2026
Amazon logo
Amazon
Hard
Software EngineerIntern Locked

Merge two sorted arrays in-place

This question evaluates array-manipulation and in-place algorithm skills, including understanding of sorted-data merging, index/pointer management, an...

Coding & Algorithms
8
0
107 people solved
Feb 8, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Design a cloud-based global property rental platform

This question evaluates skills in cloud-native system architecture, distributed systems design, scalability, security, data modeling, and operational ...

System Design
6
0
69 people solved
Feb 8, 2026
Amazon logo
Amazon
Easy
Data Scientist

Walk through an A/B test end-to-end

Walk through how you would design, run, and analyze an A/B test for a product change. Your answer should include: - Hypothesis framing and choosing pr...

Analytics & Experimentation
10
0
75 people solved
Oct 11, 2025
Amazon logo
Amazon
Easy
Data Scientist Locked

Answer core probability and inference questions

This question evaluates understanding of statistical inference and probability fundamentals, covering the Central Limit Theorem, p-values, Type I and ...

Statistics & Math
7
0
72 people solved
Oct 11, 2025
Amazon logo
Amazon
Easy
Data Scientist

Explain core ML concepts and metrics

You are interviewing for a Data Scientist role. Answer the following ML fundamentals questions clearly and concisely. Concepts 1. Explain the bias–var...

Machine Learning
9
0
88 people solved
Oct 11, 2025
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Design an online real-time chess game

Design a real-time online chess service with WebSockets, matchmaking, server-authoritative game state and clocks, durable event storage, reconnect, sh...

System Design
27
0
188 people solved
Jan 10, 2025
PayPal logo
PayPal
Easy
Data Scientist

Explain p-values and interpret regressions

Question This is a statistics rapid-fire onsite for a Data Scientist role. Answer each part clearly and precisely — first as if explaining to a Produc...

Statistics & Math
6
0
54 people solved
Oct 10, 2025
Databricks logo
Databricks
Medium
Software EngineerSenior+

Implement RLE and bit-packing compression

You are asked to implement two related compression/decompression schemes: Run-Length Encoding (RLE) and bit-packing. --- Part 1 — Run-Length Encoding ...

Coding & Algorithms
34
1
238 people solved
Oct 10, 2025
Databricks logo
Databricks
Medium
Machine Learning EngineerSenior+ Locked

Delete a Character From Cover

This question evaluates proficiency in string manipulation, interval arithmetic, and data-structure updates with attention to index mapping and edge-c...

Coding & Algorithms
11
0
82 people solved
Feb 7, 2026
Microsoft logo
Microsoft
Medium
Software Engineer

Populate next pointers in a perfect binary tree

You are given a perfect binary tree (all leaves at the same level; every internal node has two children). Each node has fields left, right, and next. ...

Coding & Algorithms
7
0
78 people solved
Feb 7, 2026
Instacart logo
Instacart
Easy
Data Scientist

Should you roll out if NSM decreases?

Scenario You ran an experiment. The north star metric (NSM) is profit per order. Observed results - Average order volume increased in treatment vs con...

Analytics & Experimentation
6
0
85 people solved
Feb 6, 2026
Bloomberg logo
Bloomberg
Hard
Software EngineerNew Grad

Compute the Nth Recency Value

Given an integer n >= 1, define a sequence a as follows: - a[0] = 0 - For each i >= 1: - If a[i - 1] has appeared earlier in the sequence, meaning t...

Coding & Algorithms
1
1
15 people solved
Oct 9, 2025
TikTok logo
TikTok
Easy
Data Scientist

Write SQL for TikTok Live creator metrics

You are analyzing TikTok Live sessions and their engagement. Tables live_room Each row is a Live session (“room”) launched by a creator. | column | ty...

Data Manipulation (SQL/Python)
17
0
137 people solved
Oct 9, 2025