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
Lyft logo
Lyft
Hard
Software Engineer

Design a scalable news feed system

Design the backend for a social app's news feed You are designing the backend that powers a mobile social app's home feed (a Twitter/Instagram-style h...

System Design
26
0
210 people solved
Jul 27, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

Group words that map to same phone digits

Problem On a classic phone keypad (T9), letters map to digits: - 2: ABC, 3: DEF, 4: GHI, 5: JKL, - 6: MNO, 7: PQRS, 8: TUV, 9: WXYZ Given a list of lo...

Coding & Algorithms
8
0
135 people solved
Oct 20, 2025
Arista logo
Arista
Hard
Software EngineerNew Grad

Implement and Defend a Generic C++ Stack

Implement and Defend a Generic C++ Stack Implement a dynamically growing generic stack in C++ and then defend its object-lifetime and call-semantics c...

Software Engineering Fundamentals
2
0
17 people solved
Oct 7, 2025
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Design an in-memory database

Design an in-memory database System Design: In-Memory Key–Value Database for Ultra–Low Latency Context You are designing an in-memory, per-node key–va...

System Design
22
0
152 people solved
Jul 15, 2025
Rippling logo
Rippling
Hard
Software Engineer Locked

Solve listed algorithm problems

This set of problems evaluates algorithmic problem-solving skills across selection and order-statistics, graph algorithms and traversals, connected-co...

Coding & Algorithms
14
0
96 people solved
Feb 12, 2026
Turo logo
Turo
Medium
Software Engineer

Design trip booking REST API and schema

Design a RESTful API for a guest to book a trip. Include: - Core endpoints (search availability, create booking, view/cancel booking, payment/confirma...

System Design
10
0
114 people solved
Feb 12, 2026
Netflix logo
Netflix
Hard
Software Engineer Locked

Design a concurrent latency percentile tracker

This question evaluates understanding of concurrent data structures, thread-safety, time-windowed metrics aggregation, and percentile computation for ...

Software Engineering Fundamentals
25
0
353 people solved
Feb 12, 2026
TikTok logo
TikTok
Easy
Software Engineer Locked

Design automated regression tests for an API

This question evaluates proficiency in designing automated regression test suites for RESTful APIs, performance verification and monitoring, end-to-en...

Software Engineering Fundamentals
6
0
47 people solved
Feb 12, 2026
Millennium logo
Millennium
Medium
Software Engineer

How do you explain work to non-technical partners?

Behavioral questions 1. Communicating with non-technical people: How do you explain a complex technical/ML topic to a non-technical stakeholder (e.g.,...

Behavioral & Leadership
6
0
60 people solved
Feb 12, 2026
Oracle logo
Oracle
Hard
Software Engineer Locked

Implement in-memory data structures and booking API

This question evaluates proficiency in data structures and algorithms, systems-level data modeling, and practical API design by testing in-memory key-...

Coding & Algorithms
8
0
118 people solved
Feb 12, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Explain normalization, regularization, CTR, imbalance handling

This question evaluates mastery of normalization methods, regularization techniques, click-through-rate modeling, and class-imbalance strategies, with...

Machine Learning
5
0
73 people solved
Feb 12, 2026
Pinterest logo
Pinterest
Hard
Machine Learning Engineer

Design an ads system to improve CTR

Design an ML system to increase the click-through rate (CTR) of ads shown in the personalized feed of an online social media platform. You run the ran...

ML System Design
17
0
149 people solved
Dec 13, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement IPv4 iterators and CIDR expansion

Problem: IPv4 Iterators and CIDR Expansion You are implementing utilities to iterate over IPv4 addresses. An IPv4 address is in dotted-decimal form: A...

Coding & Algorithms
141
0
1018 people solved
Nov 15, 2025
Hackerrank logo
Hackerrank
Medium
Software Engineer Locked

Design a URL Shortener

This question evaluates a candidate's ability to design scalable, highly available distributed systems, covering competencies in API design, data mode...

System Design
6
0
56 people solved
Mar 18, 2026
Hive.Ai logo
Hive.Ai
Easy
Software EngineerSenior+

Design a Synchronous Text Classification API

Design a Synchronous Text Classification API A trained machine-learning model classifies text. Design the system that exposes this model through synch...

ML System Design
1
0
9 people solved
May 17, 2026
Jane Street logo
Jane Street
Easy
Data ScientistIntern

Bounds on the Probability of Rain on at Least One Weekend Day

The probability that it rains on Saturday is $p$, and the probability that it rains on Sunday is $q$. Nothing is said about whether the two days are i...

Machine Learning
4
0
43 people solved
Sep 11, 2025
Amazon logo
Amazon
Medium
Software Engineer

Add One Source to Minimize Grid Inconvenience

Add One Source to Minimize Grid Inconvenience Implement min_max_inconvenience(grid). grid is a non-empty rectangular matrix containing 0 and 1. A cell...

Coding & Algorithms
2
0
30 people solved
Jul 9, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Handle imbalance, validate samples, and avoid overfitting

This question evaluates competencies in handling class imbalance, choosing and interpreting evaluation metrics and decision thresholds, validating sam...

Machine Learning
8
0
131 people solved
Feb 11, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Resolve Simpson’s paradox in A/B email test

This question evaluates understanding of Simpson's paradox, causal inference, A/B testing and experimental design within the Analytics & Experimentati...

Analytics & Experimentation
3
0
52 people solved
Feb 11, 2026
Google logo
Google
Medium
Software Engineer Locked

Design a waitlist system with top/bottom K

This question evaluates object-oriented design, data structure selection, and algorithmic complexity reasoning for implementing a waitlist that suppor...

Software Engineering Fundamentals
6
0
73 people solved
Feb 11, 2026