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 486 Companies08.11.2026
Showing 20 results
Role
OpenAI logo
OpenAI
Easy
Software Engineer

Design a Payment System

Design a Payment System Design the backend payment system for an online platform that charges customers for goods and services (for example, a marketp...

System Design
1
0
18 people solved
Mar 16, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Why Anthropic and its values?

This interview evaluates culture fit, value alignment, and critical thinking for Anthropic. Prepare one coherent discussion that addresses all of the ...

Behavioral & Leadership
31
0
229 people solved
Oct 19, 2025
Shopify logo
Shopify
Hard
Data Scientist

Present Piracy Trends to a PM

You ran the analyses above and got two preliminary findings: - the monthly pirated-theme usage rate appears to rise from 0% to 100% over the observed ...

Analytics & Experimentation
7
0
54 people solved
Jan 12, 2026
Google logo
Google
Medium
Software EngineerSenior+

Lead a deep dive on your most complex project

Past project deep dive (Staff/L6) Pick the most complex system you’ve worked on and be prepared for a 30–45 minute deep dive. Expect probing questions...

Behavioral & Leadership
7
0
103 people solved
Jan 12, 2026
Pinterest logo
Pinterest
Hard
Machine Learning EngineerSenior+ Locked

Design an unsafe content detection system

This question evaluates a candidate's competency in end-to-end machine learning system design for unsafe user-generated content detection, covering mu...

ML System Design
12
0
120 people solved
Jan 12, 2026
Two Sigma logo
Two Sigma
Medium
Data ScientistIntern

Daily Temperatures by Town: Linear Models to Predict NYC Temperature

Daily Temperatures by Town: Linear Models to Predict NYC Temperature You are given a dataset of historical daily temperature readings for New York Cit...

Machine Learning
7
0
69 people solved
Sep 10, 2025
Amazon logo
Amazon
Medium
Data Scientist

How would you test a price increase?

You are a data scientist at a B2C AI video editing software company (subscription-based, with a free trial and paid tiers). Product leadership is cons...

Analytics & Experimentation
5
0
84 people solved
Dec 20, 2025
Meta logo
Meta
Medium
Software Engineer

Count Distinct Values in a Sorted Array When K Is Small

Count Distinct Values in a Sorted Array When K Is Small Given an integer array sorted in nondecreasing order, return the number of distinct values. Le...

Coding & Algorithms
1
0
12 people solved
Mar 2, 2026
OpenAI logo
OpenAI
Hard
Software Engineer

Explain your perspective on AI safety

You are working in a company that builds and deploys advanced AI systems (e.g., large language models, recommendation systems, vision models) that are...

Behavioral & Leadership
67
0
478 people solved
Dec 8, 2025
Rippling logo
Rippling
Hard
Software Engineer Locked

Design a hotel search and booking system

This question evaluates a candidate's ability in large-scale system design, covering distributed architecture, data modeling for hotels and availabili...

System Design
33
0
371 people solved
Dec 8, 2025
Attentive logo
Attentive
Medium
Software EngineerNew Grad

Design Robust Large-Input Processing

The string-reduction algorithm above is now part of a backend service. Each job reads a text object from S3-compatible storage, applies the transforma...

System Design
10
0
96 people solved
Apr 13, 2026
Meta logo
Meta
Medium
Software Engineer

Design a distributed job scheduler

Question Design a distributed job scheduler that can run background jobs at specific times or on recurring schedules (similar to cron but scalable and...

System Design
9
0
62 people solved
Dec 8, 2025
Hudson logo
Hudson
Medium
Software Engineer

Explain and Diagnose a Segmentation Fault

Explain and Diagnose a Segmentation Fault Explain what a segmentation fault represents in a native program, how it relates to virtual-memory protectio...

Software Engineering Fundamentals
1
0
14 people solved
May 15, 2026
Hudson logo
Hudson
Medium
Software Engineer

Compare C++ Pointers and References

Compare C++ Pointers and References Compare C++ pointers and references. Explain initialization, nullability, reseating, syntax, arithmetic, ownership...

Software Engineering Fundamentals
0
0
12 people solved
May 15, 2026
Hudson logo
Hudson
Medium
Software Engineer

Explain C++ Inline Semantics and Trade-Offs

Explain C++ Inline Semantics and Trade-Offs Explain what the C++ inline keyword means, how that differs from a compiler actually substituting a functi...

Software Engineering Fundamentals
1
0
14 people solved
May 15, 2026
Hudson logo
Hudson
Medium
Software Engineer

Compare Stack and Heap Memory and Probe Stack Direction

Compare Stack and Heap Memory and Probe Stack Direction Explain the practical differences between automatic storage commonly implemented with a call s...

Software Engineering Fundamentals
0
0
18 people solved
May 15, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Handle imbalance, sampling, and overfitting

This question evaluates a data scientist's proficiency in machine learning topics including handling class imbalance, selecting and interpreting evalu...

Machine Learning
10
0
103 people solved
Feb 16, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Design a Merchant Ledger Service

This question evaluates system design skills related to modeling monetary values, transactional integrity, idempotency, auditability, concurrency cont...

System Design
15
0
180 people solved
Oct 7, 2025
Bank of America logo
Bank of America
Hard
Data Scientist

Explain motivations, projects, accomplishments, and teamwork

Behavioral & Leadership — Technical Screen (Data Scientist, Bank of America) Context You are interviewing for a Data Scientist role at Bank of America...

Behavioral & Leadership
11
0
88 people solved
Aug 11, 2025
Apple logo
Apple
Medium
Machine Learning Engineer

Optimize image filters on device

You are shipping an image-filter feature that must run entirely on a mobile device. Users expect preview latency below 30 ms on common phones, memory ...

ML System Design
4
0
78 people solved
Mar 1, 2026