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
Meta logo
Meta
Medium
Data Scientist Locked

Evaluate Notification-Based Account Ranking

This question evaluates a data scientist's competency in causal inference, A/B test and experiment design, metric definition and selection, statistica...

Analytics & Experimentation
3
0
22 people solved
Feb 9, 2026
Apple logo
Apple
Medium
Software EngineerIntern

Solve mixed coding tasks from interviews

Solve the following interview-style coding problems (you may choose any programming language unless specified). Provide correct logic and handle edge ...

Coding & Algorithms
11
0
115 people solved
Feb 9, 2026
Pinterest logo
Pinterest
Hard
Machine Learning Engineer

Insert parentheses to minimize expression value

You are given a string expression of the form A+B, where A and B are non-empty strings of digits (no digit is '0'). You must insert exactly one pair o...

Coding & Algorithms
6
1
115 people solved
Feb 9, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Solve small string and API tasks

This question evaluates proficiency in string algorithms (bracket validation and longest non-repeating substring) and practical API skills including H...

Coding & Algorithms
10
0
136 people solved
Feb 9, 2026
Cognitiv logo
Cognitiv
Medium
Machine Learning Engineer

Maintain a Streaming Median

You are designing a component that receives integers one at a time and must return the current median after each update. Example: - After processing [...

Coding & Algorithms
4
0
32 people solved
Feb 9, 2026
Atlassian logo
Atlassian
Easy
Software Engineer Locked

Filter Invalid Data Events

This question evaluates a candidate's ability to implement data validation, deduplication, stable filtering, time-range and allow-list checks, and to ...

Coding & Algorithms
7
0
54 people solved
Feb 9, 2026
Google logo
Google
Medium
Machine Learning Engineer Locked

Compute sum over consecutive-step subarrays

This question evaluates proficiency in array processing, detection of consecutive-step arithmetic sequences, and accumulation of subarray sums with at...

Coding & Algorithms
10
1
84 people solved
Feb 8, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Check if a binary tree is complete

This question evaluates understanding of binary tree properties and traversal techniques, testing competency in data structures and algorithmic reason...

Coding & Algorithms
6
0
46 people solved
Feb 8, 2026
Asana logo
Asana
Medium
Software Engineer

Implement ASCII canvas and solve two data problems

Solve the following coding tasks. 1) ASCII Canvas / Printer Implement a small drawing engine for a fixed-size canvas of width = 10 and height = 6. - E...

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

Extend a Maze Solver

This question evaluates proficiency in implementing and debugging graph search algorithms and state-space modeling, including correct visited-state ha...

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

Detect and remove matched words in a char stream

This question evaluates understanding of online stream processing, substring matching, and the use of efficient data structures and algorithms for rea...

Coding & Algorithms
35
0
238 people solved
Feb 7, 2026
Microsoft logo
Microsoft
Medium
Software Engineer

Fill rooms with nearest-gate distance

You are given an m×n grid representing a building floor plan: - -1 = wall/blocked cell - 0 = gate - A large positive number (e.g., INF = 2^31-1) = emp...

Coding & Algorithms
6
0
58 people solved
Feb 7, 2026
Uber logo
Uber
Easy
Data Scientist Locked

How would you design an ETA prediction system?

This question evaluates a data scientist's capability to design an end-to-end ETA prediction system, testing competencies in machine learning modeling...

Machine Learning
9
0
103 people solved
Feb 6, 2026
Paradromics logo
Paradromics
Medium
Software Engineer

Compute ways to climb n steps

Implement a function that returns the number of distinct ways to reach the top of a staircase with n steps if you can climb either 1 or 2 steps at a t...

Coding & Algorithms
4
0
29 people solved
Feb 6, 2026
DoorDash logo
DoorDash
Hard
Software Engineer

Calculate Daily Driver Pay

You are given a one-day event log for a delivery driver. Each input record is a JSON event with fields such as order_id, event_type, timestamp, and ba...

Coding & Algorithms
6
0
76 people solved
Feb 6, 2026
NVIDIA logo
NVIDIA
Easy
Software Engineer

Find the nth prime number

Given an integer n (1-indexed), return the n-th prime number (e.g., n=1 -> 2, n=2 -> 3, n=3 -> 5). Design an algorithm that is efficient for moderatel...

Coding & Algorithms
5
0
104 people solved
Feb 6, 2026
Waymo logo
Waymo
Medium
Software EngineerSenior+ Locked

Can You Reach the Last Index?

This question evaluates a candidate's understanding of array traversal and reachability in sequences of jumps, along with the ability to reason about ...

Coding & Algorithms
14
0
108 people solved
Feb 6, 2026
TikTok logo
TikTok
Easy
Data Scientist

Find high-value crypto users and top-CTR product

You are given three tables (timezone: UTC). Assume create_date, transaction_time, and event_time are timestamps. Tables users - user_id BIGINT PRIMARY...

Data Manipulation (SQL/Python)
4
1
74 people solved
Feb 4, 2026
Google logo
Google
Easy
Software Engineer

Implement Batched Undo/Redo Layer

You are implementing a simplified document layer for a design tool. The layer stores properties as a map<string, string>. Implement a class that suppo...

Coding & Algorithms
7
0
57 people solved
Feb 4, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Solve sliding-window, flattening, decode, and O(1) random set

This multi-part question evaluates competence in string processing and nested parsing, linked-list flattening and recursion depth management, dynamic ...

Coding & Algorithms
10
0
118 people solved
Feb 4, 2026