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

Analyze time complexity and threading trade-offs

Answer the following conceptual questions. 1) Worst-case time complexity State the worst-case time complexity (Big-O) for each operation and briefly j...

Software Engineering Fundamentals
18
0
138 people solved
Nov 3, 2025
Amazon logo
Amazon
Easy
Data ScientistSenior+

Design and evaluate a RAG system

You are interviewing for an L5 Data Scientist role focused on LLM applications. Design a retrieval-augmented generation (RAG) system for an internal q...

Machine Learning
14
0
116 people solved
Jan 12, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Answer common leadership prompts

Prepare strong STAR-style answers for the following behavioral prompts from the interview: - Describe an important project you delivered under a tight...

Behavioral & Leadership
6
0
96 people solved
Oct 24, 2025
OpenAI logo
OpenAI
Medium
Machine Learning Engineer

Maintain Entropy for a Streaming Distribution

A stream emits categorical observations one at a time. After each observation, report the empirical Shannon entropy of all observations seen so far: H...

Statistics & Math
3
0
31 people solved
Aug 23, 2025
Trexquant logo
Trexquant
Medium
Software Engineer

C++ Fundamentals: const Pointers, and map vs unordered_map

C++ Fundamentals: const with Pointers, and map vs unordered_map You are in a C++ fundamentals screening round. After the coding question, the intervie...

Software Engineering Fundamentals
4
0
43 people solved
Feb 26, 2026
Stripe logo
Stripe
Hard
Data Scientist

Design a leak-free time-split model

Predict 30-Day Purchase Probability at a Snapshot (Technical Screen) Assume you have user, event, and order data with two timestamps per row: - event_...

Machine Learning
4
0
53 people solved
Oct 13, 2025
Thumbtack logo
Thumbtack
Medium
Data Scientist

Implement TF–IDF with sparse matrices

Implement TF–IDF from Scratch (Python + NumPy/SciPy) You are given a list of documents (plain strings). Implement a TF–IDF vectorizer from scratch — n...

Coding & Algorithms
13
0
109 people solved
Oct 13, 2025
OpenAI logo
OpenAI
Easy
Software Engineer

Answer project deep dive and cross-functional questions

Behavioral / leadership round prompts You’re asked to cover some or all of the following: 1. Technical deep dive presentation - Prepare a short sli...

Behavioral & Leadership
34
0
383 people solved
Jan 22, 2026
Salesforce logo
Salesforce
Hard
Software Engineer

Answer ownership, conflict, and failure recovery questions

You are in a 45-minute hiring manager (behavioral) interview. Prepare structured answers to: 1. Ownership: Describe a project where you showed the mos...

Behavioral & Leadership
10
0
82 people solved
Jan 22, 2026
Disney logo
Disney
Medium
Software Engineer Locked

Design a Twitter-like microblogging platform

This question evaluates expertise in large-scale system design, including feed generation and ranking, API and data model design, scalability and cons...

System Design
10
0
140 people solved
Jan 22, 2026
Two Sigma logo
Two Sigma
Medium
Data Scientist Locked

Design features for house price prediction

This question evaluates competence in feature engineering, data preprocessing, baseline regression modeling, and model evaluation for tabular price pr...

Machine Learning
13
0
102 people solved
Jan 22, 2026
Kikoff logo
Kikoff
Medium
Software Engineer Locked

Design a Credit Scoring Platform

This question evaluates competency in designing large-scale ML-driven systems, including system architecture, data ingestion and processing, model sco...

ML System Design
5
0
64 people solved
May 4, 2026
Amazon logo
Amazon
Medium
Software Engineer

Solve Nearby Inventory and Word Segmentation Tasks

Two Algorithmic Tasks Implement both parts. They are independent and should have separate functions. Part A - Nearby Centers with Inventory An undirec...

Coding & Algorithms
1
0
13 people solved
Feb 2, 2026
Ansys logo
Ansys
Medium
Software EngineerIntern

Explain Common Machine Learning Tradeoffs

The interview included a rapid-fire machine learning theory round. Be prepared to answer questions such as: - What are overfitting and underfitting? H...

Machine Learning
5
0
56 people solved
Dec 31, 2025
Instacart logo
Instacart
Hard
Software Engineer

Design product catalog service

Design product catalog service Design a product catalog service for a large e-commerce / grocery platform. The catalog must support a hierarchical cat...

System Design
76
0
582 people solved
Aug 4, 2025
Grammarly logo
Grammarly
Hard
Software Engineer

Solve interval merge and string dedup problems

You are given three coding questions from a phone screen. Solve each independently. 1) Merge overlapping intervals Input: A list of intervals interval...

Coding & Algorithms
35
0
246 people solved
Oct 22, 2025
Microsoft logo
Microsoft
Medium
Data Scientist

Design Testing Without A/B Experiments

Suppose a product team wants to evaluate a new feature that is intended to improve user engagement and long-term retention, but a clean randomized A/B...

Analytics & Experimentation
5
0
86 people solved
Feb 25, 2026
Apple logo
Apple
Medium
Machine Learning Engineer

Design CI/CD for AI Services

Design a CI/CD platform for a large AI product organization. The platform must support backend services, model-serving APIs, data and feature pipeline...

System Design
9
0
126 people solved
Feb 13, 2026
Google logo
Google
Medium
Software Engineer

Choose Fast or Cheap Models

You are building an AI-powered product and must choose between two inference options for each request: - Option A: higher cost per token, but lower la...

ML System Design
12
0
100 people solved
Jan 10, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist

Do US members upload more videos than non-US?

You suspect video posting adoption differs between US and international members. Tables members - memberid INT (PK) - country VARCHAR (e.g., 'usa', '...

Analytics & Experimentation
8
0
76 people solved
Feb 1, 2026