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
Roblox logo
Roblox
Medium
Software Engineer

Implement a sliding-window rate limiter

Implement an in-memory sliding-window rate limiter. You are given a stream of requests, each with a timestamp in milliseconds. Part 1: Per-user limit ...

Coding & Algorithms
16
0
153 people solved
Jan 24, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Determine Whether a Binary Tree Is a Valid BST

Determine Whether a Binary Tree Is a Valid BST Problem Given a binary tree, determine whether the entire tree satisfies the strict binary-search-tree ...

Coding & Algorithms
0
0
4 people solved
Apr 15, 2026
Oscar logo
Oscar
Medium
Software Engineer

Design Telehealth Consultation Queue

Design a web-based queuing application for a health-insurance company that offers free 24/7 telehealth access to its members through a website and mob...

System Design
3
0
45 people solved
Apr 15, 2026
Meta logo
Meta
Hard
Software EngineerSenior+

Solve Subarray Sum and Local Minimum

Two coding problems were reported in the same phone-screen round: 1. Count target-sum subarrays. Given an integer array nums and an integer k, return ...

Coding & Algorithms
5
0
40 people solved
Apr 15, 2026
Harvey logo
Harvey
Medium
Software Engineer

Highlight Exact Source Matches

You are given a string text and a list of strings sources. For every exact occurrence of any string in sources within text, wrap the matched character...

Coding & Algorithms
2
0
29 people solved
Apr 15, 2026
TikTok logo
TikTok
Easy
Data Scientist

When prioritize precision vs recall

Context You are working on a product team and building (or evaluating) a binary classifier that triggers an action (e.g., show a warning, block conten...

Machine Learning
3
0
50 people solved
Nov 15, 2025
Uber logo
Uber
Medium
Data ScientistSenior+ Locked

How would you build UberEats ranking?

This question evaluates machine learning and recommender-systems competencies for ranking in a food delivery marketplace, covering problem formulation...

Machine Learning
8
0
56 people solved
Jan 22, 2026
TikTok logo
TikTok
Medium
Machine Learning Engineer Locked

Design training for multimodal embedding model

This question evaluates proficiency in end-to-end multimodal embedding system design, including model architecture, supervision and loss strategies, e...

ML System Design
4
0
56 people solved
Jan 22, 2026
TikTok logo
TikTok
Medium
Machine Learning Engineer Locked

Compute minimum path sum in a triangle

This question evaluates proficiency in dynamic programming and algorithmic problem-solving within the Coding & Algorithms domain, focusing on handling...

Coding & Algorithms
4
0
46 people solved
Jan 22, 2026
Meta logo
Meta
Medium
Machine Learning EngineerSenior+ Locked

Design a weapon-ad harmful content detection system

This question evaluates skills in end-to-end system design and applied machine learning for multi-modal harmful content detection, covering scalabilit...

System Design
6
0
70 people solved
Jan 22, 2026
Meta logo
Meta
Medium
Machine Learning EngineerSenior+ Locked

Deep copy a linked list with random pointers

This question evaluates understanding of linked-list structures, pointer/reference manipulation, deep versus shallow copying, and the ability to analy...

Coding & Algorithms
4
0
70 people solved
Jan 22, 2026
Boeing logo
Boeing
Easy
Software Engineer Locked

Explain AWS access control and frontend typing

This question evaluates cloud infrastructure and access control (EC2, S3 pre-signed URLs, IAM), frontend React fundamentals (hooks and common pitfalls...

Software Engineering Fundamentals
1
0
28 people solved
Jan 22, 2026
Amazon logo
Amazon
Hard
Software Engineer

Answer Dive Deep and Ownership in LP interview

Behavioral (Amazon LP): Dive Deep & Ownership The interviewer will probe your prior work and may connect follow-ups to the technical discussion. Promp...

Behavioral & Leadership
8
0
106 people solved
Jan 22, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Design a cloud database write path and recovery

This question evaluates expertise in designing transactional write paths and crash recovery for cloud-native relational databases that separate comput...

System Design
19
0
169 people solved
Jan 22, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Serialize and deserialize a binary tree

This question evaluates competency in designing robust serialization formats and manipulating binary tree data structures, including preservation of s...

Coding & Algorithms
8
0
72 people solved
Jan 22, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Return a topological ordering of a graph

This question evaluates understanding of graph algorithms—particularly topological sorting and cycle detection—and competency in ordering dependencies...

Coding & Algorithms
4
0
74 people solved
Jan 22, 2026
Dropbox logo
Dropbox
Medium
Software Engineer Locked

Build a hit/miss word guessing game

This question evaluates implementation skills in managing stateful systems and data structures for pattern matching, as well as algorithmic and advers...

Coding & Algorithms
8
0
162 people solved
Jan 22, 2026
Google logo
Google
Medium
Software Engineer Locked

Determine whether two nodes are related

This question evaluates understanding of graph representations, reachability and connectivity concepts for ancestry relationships, including handling ...

Coding & Algorithms
29
1
198 people solved
Jan 22, 2026
Tesla logo
Tesla
Hard
Software Engineer Locked

Coordinate workers across two exclusive targets

This question evaluates proficiency in concurrent programming and synchronization, focusing on safe resource coordination, mutual exclusion, utilizati...

Coding & Algorithms
8
0
114 people solved
Jan 22, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Implement a rate limiter at scale

This question evaluates understanding of algorithmic and system-level design for per-key rate limiting, including data structures, time/space complexi...

Coding & Algorithms
7
0
83 people solved
Jan 22, 2026