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

Explain your background and career choices

Explain your background and career choices Behavioral Technical Screen: Resume Walkthrough and Career Narrative Context You will be asked to present a...

Behavioral & Leadership
3
0
37 people solved
Jul 15, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement a serializable key-value store

Implement in C++ an in-memory key-value store with: - put(key: string, value: string), get(key) -> optional<string>, erase(key). - serialize() -> vect...

Coding & Algorithms
58
0
473 people solved
Jul 15, 2025
Instacart logo
Instacart
Hard
Software Engineer

Design an e-commerce category page

Design an e-commerce category page System Design: Category Page with Facets, Sorting, Pagination, SEO, Caching, Personalization, and Real-Time Updates...

System Design
4
0
78 people solved
Jul 15, 2025
Meta logo
Meta
Medium
Software Engineer

Discuss achievements, ambiguity handling, growth, and conflict management

Discuss achievements, ambiguity handling, growth, and conflict management Behavioral & Leadership Interview Prompts (Software Engineer — Onsite) Conte...

Behavioral & Leadership
2
0
26 people solved
Jul 15, 2025
Amazon logo
Amazon
Hard
Software Engineer

Explain attention and Transformers

Explain attention and Transformers Scaled Dot-Product Self-Attention, Transformer Architecture, and BERT vs GPT You are interviewing for a software en...

Machine Learning
7
0
69 people solved
Jul 15, 2025
Amazon logo
Amazon
Hard
Software Engineer

Deep dive a resume project

Deep dive a resume project End-to-End ML Project Walkthrough (System Design Focus) Pick one ML project from your experience and walk through it end-to...

ML System Design
5
0
36 people solved
Jul 15, 2025
Zoox logo
Zoox
Hard
Software Engineer Locked

Can a Car Meet a Truck?

This question evaluates a candidate's ability to reason about grid-based movement and time-indexed reachability, testing competencies in algorithmic a...

Coding & Algorithms
5
0
94 people solved
Dec 13, 2025
Meta logo
Meta
Medium
Data Scientist

Interpreting confidence intervals to choose a treatment

Feed-ranking Tweaks: Interpret Confidence Intervals and Choose a Treatment You ran online experiments for three feed-ranking tweaks. The primary metri...

Analytics & Experimentation
13
0
78 people solved
Jul 12, 2025
Meta logo
Meta
Easy
Data Scientist

Posterior probability given model accuracy

Security Classification: Posterior Probability When Flagged You are evaluating a binary classifier that flags potentially bad users. Assume: - Base ra...

Analytics & Experimentation
7
0
32 people solved
Jul 12, 2025
Meta logo
Meta
Easy
Data Scientist

Expected impressions per user under random assignment

Random Assignment of Ad Impressions Across Users In an A/B experiment, Y ad impressions are served uniformly at random across X distinct users. Each i...

Analytics & Experimentation
15
0
33 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Evaluate the Success of Instagram Checkout

Evaluating Instagram Checkout Instagram Checkout allows users to discover products, add to cart, pay, and manage post-purchase flow without leaving In...

Analytics & Experimentation
90
0
96 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Evaluate the Health of Facebook Groups

Group Health Metrics and Threaded Comments Experiment You are a Data Scientist working on a platform with Groups ranging from small hobby clubs to ver...

Analytics & Experimentation
52
0
52 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Measuring and mitigating fake news on Facebook

Measuring and Mitigating Fake News Under Reviewer Constraints Policy teams need an overnight view of fake-news prevalence on the platform, but only a ...

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

How to Discourage Geographic Benefit Exploitation by Cardholders

Discouraging Free-riding on Location-based Card Benefits Some cardholders use location-based perks, such as partner venue access, local discounts, mus...

Behavioral & Leadership
20
0
76 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Design Data Structure for Sparse Matrices Operations

Scenario Analytics engine stores extremely sparse numeric matrices. Question Design a data structure to store two sparse matrices and implement print(...

Coding & Algorithms
8
0
12 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Determine Pin Connections Through Common Boards

Scenario Pinterest boards contain many pins; need to infer relationships between pins. Question Given the membership lists of all boards, write a func...

Coding & Algorithms
19
0
58 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Design Algorithm to Minimize Payments in Expense-Sharing App

Scenario Expense-sharing app needs to settle debts among friends after a trip. Question Given a list of transactions (payer, payee, amount), design an...

Coding & Algorithms
28
0
96 people solved
Jul 12, 2025
Capital One logo
Capital One
Medium
Data Scientist

Describe Your Most Significant Professional Accomplishment

Behavioral Interview: Most Significant Professional Accomplishment In an onsite behavioral or leadership round for a Data Scientist role, the intervie...

Behavioral & Leadership
7
0
37 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Design Experiment to Test New Hashtag Recommender Algorithm

Experiment Design: Testing a New Hashtag Recommender A social app shows hashtag recommendations to users while they compose posts. A new algorithm is ...

Analytics & Experimentation
13
0
33 people solved
Jul 12, 2025
Amazon logo
Amazon
Medium
Data Scientist

Assess Culture Fit Through Behavioral Interview Questions

Behavioral Interview: Culture Fit and Leadership You are interviewing for a Data Scientist role. The interviewer is assessing culture fit, decision-ma...

Behavioral & Leadership
21
0
65 people solved
Jul 12, 2025