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
Medium
Software Engineer AI

Implement an Expiring Record Store

Implement a level-based in-memory record store. The store contains records identified by a string key. Each record contains fields, where each field i...

Coding & Algorithms
2
0
32 people solved
Apr 1, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer

Design Personalized Product Feeds

Design an ML system for personalized product feeds in an e-commerce application. For each user request, the system should return a ranked feed of prod...

ML System Design
8
0
92 people solved
Apr 1, 2026
Workday logo
Workday
Medium
Software EngineerSenior+ Locked

Design AI-Powered Document Search

This question evaluates system-design and machine-learning engineering skills for building a scalable AI-enabled document ingestion pipeline, covering...

ML System Design
3
0
58 people solved
Apr 1, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Implement fast power and k-palindrome

This question evaluates numerical algorithm design and string algorithm skills, focusing on efficient exponentiation with negative exponents and deter...

Coding & Algorithms
5
0
44 people solved
Apr 1, 2026
Amazon logo
Amazon
Easy
Data Scientist

Solve two string DP/hash problems

Solve the following two coding questions. 1) Unique Morse Code Transformations You are given an array of strings words (lowercase English letters). Us...

Coding & Algorithms
79
0
599 people solved
Feb 13, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Schedule vector ops on heterogeneous cores

This question evaluates understanding of scheduling and load-balancing heuristics for heterogeneous processors, algorithmic complexity reasoning, and ...

Coding & Algorithms
8
0
75 people solved
Jan 2, 2026
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Implement a size-bounded LRU cache

This question evaluates a candidate's ability to design and implement efficient data structures for capacity-bound caching, focusing on handling varia...

Coding & Algorithms
3
0
50 people solved
Jan 2, 2026
Anthropic logo
Anthropic
Hard
Machine Learning Engineer

Design a scalable service and model performance

System Design: Multi-Region, 50k QPS, p95 < 100 ms Context Design an online, read-heavy key-value service (for example, a user profile or feature look...

System Design
13
0
268 people solved
Aug 14, 2025
IBM logo
IBM
Medium
Software Engineer

Describe open-source contribution experience

Question What is your experience contributing to open-source projects? Walk the interviewer through your background in detail, covering: 1. Projects a...

Behavioral & Leadership
6
0
65 people solved
Aug 14, 2025
Meta logo
Meta
Easy
Data Scientist Locked

How would you design a Shop Ads ranking algorithm?

This question evaluates a candidate's understanding of machine learning-driven ad ranking, auction mechanics, multi-stakeholder objective formulation,...

Machine Learning
7
0
80 people solved
Feb 12, 2026
Snapchat logo
Snapchat
Medium
Machine Learning Engineer

Compare convolutions and transformers

Compare CNNs and Transformers Task Explain the key differences between convolutional neural networks (CNNs) and transformer architectures. Specificall...

Machine Learning
12
0
136 people solved
Aug 13, 2025
Apple logo
Apple
Hard
Machine Learning Engineer

Explain annotation agreement and LLM vs human judges

Annotation Agreement and LLM-vs-Human Judges Context You are on a model-evaluation team. Datasets are labeled, and model outputs are scored, by humans...

Machine Learning
10
0
162 people solved
Aug 13, 2025
Shopify logo
Shopify
Medium
Machine Learning Engineer

Describe pair programming communication approach

Pair Programming in a Timed Interview (ML Engineer) Context: You are in a timed, onsite pair-programming interview for a Machine Learning Engineer rol...

Behavioral & Leadership
10
0
134 people solved
Aug 13, 2025
Google logo
Google
Medium
Data Scientist

Build Classifier: Evaluate with AUROC for Imbalanced Data

Detecting Dead Links: Build and Evaluate a Classifier You have a dataset of 1,000 URLs labeled as good, meaning alive, or bad, meaning dead. The class...

Machine Learning
31
0
106 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Resolve Stakeholder Conflicts: Actions and Outcomes Explained

Behavioral Interview: Navigating Stakeholder Conflict You are a Data Scientist delivering a product or experiment with stakeholders such as Product, E...

Behavioral & Leadership
10
0
70 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Hard
Data Scientist

Investigate Homepage Experiment Without Control Group: Methods and Metrics

Homepage Experiment Without a Control Group A social-media homepage team is analyzing a personalized feed. An intern accidentally launched a treatment...

Analytics & Experimentation
108
0
245 people solved
Jul 12, 2025
Google logo
Google
Hard
Data Scientist

Diagnose YouTube Usage Decline: Key Metrics and Segmentation

Diagnose YouTube Usage Decline: Key Metrics and Segmentation YouTube observes a sudden decline in daily active users and total watch time across the p...

Analytics & Experimentation
80
0
101 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Evaluate New Feed-Ranking Algorithm with A/B Testing

A/B Test a New Feed-Ranking Algorithm A social-media company wants to evaluate a new feed-ranking algorithm intended to increase daily active minutes ...

Analytics & Experimentation
84
0
299 people solved
Jul 12, 2025
DoorDash logo
DoorDash
Medium
Data Scientist

Diagnose Cold Food Deliveries with Key Metrics Analysis

Diagnose Cold Food Deliveries and Test a Fix A food-delivery platform is receiving a spike in customer complaints that delivered meals arrive cold. Yo...

Analytics & Experimentation
43
0
199 people solved
Jul 12, 2025
Capital One logo
Capital One
Medium
Data Scientist

Evaluate Factors Before Renewing TV-Series Contracts

TV-Series Renewal and Divestiture Analysis You are advising a CEO on whether to renew a two-year contract for two TV series: - The Analyst (Series A) ...

Analytics & Experimentation
66
0
178 people solved
Jul 12, 2025