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
Scale AI logo
Scale AI
Easy
Machine Learning Engineer Locked

Explain LLM post-training methods and tradeoffs

This question evaluates a practitioner's knowledge of LLM post-training methods—including supervised fine-tuning, preference optimization approaches (...

Machine Learning
37
0
360 people solved
Feb 12, 2026
Oracle logo
Oracle
Hard
Software Engineer

How do you prioritize and handle failures?

Answer the following behavioral questions with concrete examples from your experience. 1) Prioritization approach - When you have multiple competing t...

Behavioral & Leadership
3
0
59 people solved
Feb 12, 2026
Apple logo
Apple
Hard
Data Scientist

Choose Optimal Network Retry Threshold

You work on a mobile music streaming team responsible for improving playback reliability while minimizing battery drain. When the app is streaming aud...

Analytics & Experimentation
6
0
79 people solved
Mar 14, 2026
Whatnot logo
Whatnot
Medium
Data ScientistSenior+

Define Marketplace Success Metrics and Investigate Their Movement

Define Marketplace Success Metrics and Investigate Their Movement A two-sided live-commerce marketplace asks you to define success metrics. A primary ...

Analytics & Experimentation
0
0
6 people solved
Mar 30, 2026
IBM logo
IBM
Hard
Software Engineer

Design a multithreaded CPU 1D convolution

Question Design and implement a multithreaded CPU version of the valid 1‑D convolution. Valid convolution produces an output of length M = N − K + 1, ...

System Design
9
0
91 people solved
Aug 14, 2025
Qualcomm logo
Qualcomm
Medium
Software Engineer

Compute the Diameter of an Undirected Tree

Compute the Diameter of an Undirected Tree You are given an undirected tree with nodes numbered from 0 through n - 1. The diameter is the number of ed...

Coding & Algorithms
2
0
18 people solved
Apr 16, 2026
Google logo
Google
Hard
Software EngineerSenior+

Convert Valid Snake Case to Lower Camel Case

Convert Valid Snake Case to Lower Camel Case Given a valid snake-case identifier, convert it to lower camel case. The input consists of one or more lo...

Coding & Algorithms
3
2
18 people solved
Apr 16, 2026
Liftoff logo
Liftoff
Medium
Software Engineer

Design and implement core Tetris game logic

Implement the core logic of the Tetris game in a way that can run in a terminal (no graphical UI required). Requirements: - Board/grid: standard size ...

Software Engineering Fundamentals
5
0
49 people solved
Feb 26, 2026
Waymo logo
Waymo
Easy
Data Scientist

Estimate total attendance from size-biased reservation sample

You run a restaurant with N = 10,000 reservations in a day. Each reservation j has: - Reserved party size: \(R_j\) (positive integer) - Actual number ...

Statistics & Math
31
0
217 people solved
Nov 11, 2025
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Design autocomplete and merchant bulk edits

This question evaluates a candidate's system design competency across real-time search/autocomplete and large-scale product update pipelines, covering...

System Design
18
0
200 people solved
Nov 11, 2025
TikTok logo
TikTok
Medium
Software Engineer Locked

Choose tools for scalable distributed systems

This question evaluates proficiency in designing scalable distributed systems, testing requirement analysis (latency, throughput, durability, consiste...

System Design
7
0
98 people solved
Feb 11, 2026
Coinbase logo
Coinbase
Medium
Software Engineer Locked

Design query pagination for large datasets

This question evaluates a candidate's understanding of pagination strategies, cursor/keyset design, SQL query formulation, consistency guarantees unde...

System Design
27
0
214 people solved
Feb 11, 2026
NVIDIA logo
NVIDIA
Hard
Software Engineer Locked

Design a URL shortening service

This question evaluates systems design skills including scalable architecture, data modeling, low-latency routing, availability, and operational conce...

System Design
7
0
104 people solved
Feb 11, 2026
TikTok logo
TikTok
Easy
Software Engineer Locked

Solve the N-Queens problem

This question evaluates a candidate's competence in backtracking, constraint satisfaction, combinatorial search, recursion, and state representation. ...

Coding & Algorithms
7
0
74 people solved
Feb 11, 2026
Capital One logo
Capital One
Medium
Data Scientist

Should Company Launch Vegan Burger Based on Profit Analysis?

Case: Launching a Vegan Burger — Unit Economics and Go/No-Go You are a data scientist supporting a product team that is deciding whether to launch a v...

Analytics & Experimentation
123
0
576 people solved
Jul 12, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Design A URL Shortener

This question evaluates skills in large-scale system design, covering distributed systems, API design, data modeling and storage, caching, short-code ...

System Design
18
0
134 people solved
May 4, 2026
Tesla logo
Tesla
Hard
Machine Learning Engineer

Implement attention and Transformer with backward pass

Implement Scaled Dot-Product Attention and a Transformer Block (No Autograd) Context: Build multi-head self-attention and a Transformer encoder-style ...

Machine Learning
40
0
364 people solved
Aug 12, 2025
Optiver logo
Optiver
Hard
Software Engineer

Calculate the Probability That Two Dice Sum to Seven

Roll two independent fair six-sided dice. What is the probability that their sum is 7? Show the sample space and favorable outcomes. Then explain why ...

Statistics & Math
0
0
3 people solved
May 24, 2026
Optiver logo
Optiver
Hard
Software Engineer

Find the Color Probability After Discarding Cards

A standard 52-card deck has 26 red and 26 black cards and is uniformly shuffled. Discard the first 10 cards without observing their identities. What i...

Statistics & Math
0
0
3 people solved
May 24, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design Online Chess Matchmaking

This question evaluates a candidate's ability to design scalable, low-latency matchmaking backend systems, covering distributed service decomposition,...

System Design
25
0
360 people solved
May 24, 2026