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

Define metrics for harmful-content severity

Context You are a Data Scientist on the integrity / harmful-content team for a large social media product. Leadership wants a way to track how bad pol...

Analytics & Experimentation
6
0
61 people solved
Sep 19, 2025
Capital One logo
Capital One
Medium
Software Engineer

Apply commands to transform a matrix

You are given an integer matrix A of size n × m and a list of string commands to apply in order. Implement the commands and return the final matrix. C...

Coding & Algorithms
13
0
90 people solved
Sep 19, 2025
Gts logo
Gts
Medium
Data Scientist Locked

Compute value of card guessing game

This question evaluates probabilistic reasoning, expected-value computation, sequential decision-making, and the ability to reason about optimal strat...

Machine Learning
3
0
40 people solved
Sep 18, 2025
Tesla logo
Tesla
Medium
Software Engineer

Implement a Timed Task Scheduler

Implement a runnable task scheduler. The scheduler should allow clients to add new tasks at any time. Each task has: - A callback or function to execu...

Coding & Algorithms
0
0
7 people solved
Jan 24, 2026
Pinterest logo
Pinterest
Medium
Data ScientistSenior+

Write Queries for Pinterest Engagement Tasks

You are given several data-manipulation tasks based on Pinterest-style product data. Use UTC for all timestamp-to-date conversions unless stated other...

Data Manipulation (SQL/Python)
3
0
23 people solved
Jan 22, 2026
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
55 people solved
Jan 22, 2026
Uber logo
Uber
Medium
Data ScientistSenior+ Locked

How would you evaluate UberEats growth?

This question evaluates product analytics, experimentation design, and causal inference competencies in the context of a food-delivery marketplace, em...

Analytics & Experimentation
6
0
53 people solved
Jan 22, 2026
MathWorks logo
MathWorks
Medium
Software Engineer Locked

Design a multi-tenant course purchase and delivery system

This question evaluates a candidate's skills in designing scalable multi-tenant architectures, covering data modeling for tenants, organizations, and ...

System Design
5
0
47 people solved
Jan 22, 2026
MathWorks logo
MathWorks
Medium
Software EngineerIntern Locked

Maximize minimum value after k decrements

This question evaluates array-based optimization skills, resource-allocation reasoning under a fixed decrement budget, and algorithmic complexity anal...

Coding & Algorithms
2
0
32 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
69 people solved
Jan 22, 2026
Instacart logo
Instacart
Hard
Software Engineer Locked

Evaluate query ratios from equations

This question evaluates a candidate's skill in modeling variable ratios as relational structures, reasoning about transitive numeric relationships, an...

Coding & Algorithms
10
0
119 people solved
Jan 22, 2026
Meta logo
Meta
Medium
Software EngineerSenior+ Locked

Solve string transform and min-move sorting

This two-part problem evaluates string manipulation and algorithmic problem-solving competencies, specifically rule-based text transformation and comp...

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

Solve matrix groups and recipe inventory

This pair of problems evaluates block-wise grid processing and aggregation for minimum-value selection alongside dependency-resolution and resource-al...

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

Compute unique-substring length and first unique index

This question evaluates proficiency in string processing and character-frequency reasoning by combining tasks that measure longest distinct-character ...

Coding & Algorithms
1
0
23 people solved
Jan 22, 2026
TikTok logo
TikTok
Hard
Software Engineer Locked

Find k-th smallest subarray sum

This question evaluates algorithmic problem-solving skills in array processing, specifically understanding of subarray sum properties, selection and r...

Coding & Algorithms
7
0
56 people solved
Jan 22, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Bracket substrings matching any pattern

This question evaluates string manipulation and pattern-matching competency, including substring search, prioritization rules for leftmost and longest...

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

Solve linked list, grid BFS, and median queries

This multi-part question evaluates proficiency in in-place linked list manipulation, reasoning about shortest connections between connected components...

Coding & Algorithms
26
0
315 people solved
Jan 22, 2026
Salesforce logo
Salesforce
Hard
Software Engineer Locked

Solve sliding window, heap, DP, in-place tasks

This set evaluates proficiency with core algorithmic patterns—sliding-window techniques, heap-based top-k selection, dynamic programming for unbounded...

Coding & Algorithms
29
0
213 people solved
Jan 22, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Merge collinear overlapping 2D segments

This question evaluates computational geometry skills, numerical robustness, and algorithmic implementation for merging collinear, overlapping 2D segm...

Coding & Algorithms
1
0
33 people solved
Jan 22, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Scale Game of Life to huge matrices

This question evaluates a candidate's ability to design space-efficient, I/O-aware algorithms and streaming or external-memory techniques for processi...

Coding & Algorithms
3
0
39 people solved
Jan 22, 2026