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

Design a Ride-Hailing Platform

This question evaluates system design and distributed systems competencies, focusing on real-time location tracking, scalable API and storage design, ...

System Design
4
0
63 people solved
Apr 7, 2026
Optiver logo
Optiver
Medium
Software Engineer

Solve quick probability questions

Rapid-Fire Probability Questions You are in a timed quantitative screen. Answer each of the following independent probability questions, ideally in we...

Statistics & Math
24
0
426 people solved
Aug 13, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Design cloud storage system

Design cloud storage system In-Memory Cloud Storage: Design and Implement You are asked to design and implement an in-memory cloud storage system that...

System Design
69
0
222 people solved
Jul 29, 2025
Databricks logo
Databricks
Hard
Software Engineer Locked

Design a Cache with Hit Counts

This question evaluates a candidate's competence in system design, data structures, concurrency, and observability by requiring a key-value cache that...

Software Engineering Fundamentals
40
0
353 people solved
Mar 15, 2026
Booking logo
Booking
Medium
Software Engineer

Design a Real-Time Logging System

Design a logging/telemetry system for a large application platform. Requirements: - Many services send log or metric events to the system - Event subm...

System Design
6
0
120 people solved
Mar 15, 2026
Instacart logo
Instacart
Medium
Software Engineer

Simulate bus boarding with priority and wheelchairs

You are implementing a simplified bus boarding simulator. Model: - Person has at least: - id (string/int) - priority (boolean): if true, they shou...

Software Engineering Fundamentals
26
0
239 people solved
Mar 4, 2026
Pinterest logo
Pinterest
Medium
Data Scientist Locked

Measure Billboard Campaign Impact: Design, Bias, Test Strategy

Measure Billboard Campaign Impact: Design, Bias, Test Strategy evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistic...

Analytics & Experimentation
148
2
593 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Compute an A/B test p-value by hand

In an A/B test on a game feature, you measure conversion rate (binary outcome). - Control: n₁ = 1000 users, x₁ = 120 conversions - Treatment: n₂ = 980...

Statistics & Math
11
0
94 people solved
Nov 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Write SQL window functions for D7 retention

Assume you have the following tables (timestamps are in UTC). 1) game_sessions - user_id (STRING) - session_start_ts (TIMESTAMP) - country (STRING) Ea...

Data Manipulation (SQL/Python)
10
1
151 people solved
Nov 4, 2025
Apple logo
Apple
Hard
Software Engineer Locked

Make tree iterators safe under concurrency

This question evaluates understanding of concurrent data structures, iterator safety, synchronization mechanisms, and reasoning about shared mutable s...

Software Engineering Fundamentals
19
0
142 people solved
Feb 11, 2026
Roblox logo
Roblox
Medium
Software Engineer Locked

Design favorites and social game recommendations

This question evaluates a candidate's ability to design scalable backend systems for social features, assessing competencies in data modeling, event-d...

System Design
34
0
251 people solved
Feb 11, 2026
Snapchat logo
Snapchat
Medium
Machine Learning Engineer Locked

Explain BatchNorm, optimizers, and L1/L2

This question evaluates a candidate's understanding of core machine learning fundamentals—Batch Normalization, optimizer behaviors (SGD, Momentum, RMS...

Machine Learning
7
0
93 people solved
Feb 11, 2026
Robinhood logo
Robinhood
Medium
Software EngineerSenior+ Locked

Design authorization and audit logging systems

This question evaluates competency in designing secure authorization and audit logging systems, including access-control models (RBAC/ABAC/hybrid), po...

System Design
22
0
197 people solved
Jan 22, 2026
Databricks logo
Databricks
Medium
Software Engineer

Track Customer Revenue and Referral Revenue

Track Customer Revenue and Referral Revenue Problem Implement a top-level function that processes an in-memory customer revenue tracker through a lite...

Coding & Algorithms
2
1
26 people solved
Apr 18, 2026
Microsoft logo
Microsoft
Medium
Machine Learning Engineer

Handle Cross-Team Dependencies and Scope Conflicts

Answer the following behavioral interview questions using a concrete example from your experience: 1. You depend on another team to complete work, but...

Behavioral & Leadership
3
0
46 people solved
Apr 18, 2026
Citadel logo
Citadel
Easy
Data Scientist Locked

Find constant minimizing absolute error

This question evaluates understanding of L1 loss minimization, robust central-tendency estimators, and order-statistics reasoning for point estimation...

Statistics & Math
13
0
133 people solved
Feb 10, 2026
Salesforce logo
Salesforce
Medium
Machine Learning EngineerSenior+

Explain ML and LLM fundamentals

You are interviewing for an AI Engineer role. Explain the following concepts and how they affect real systems: 1. What is F1 score, and when is it mor...

Machine Learning
9
0
84 people solved
Jan 12, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Design a distributed tree node counter

Design a distributed tree node counter Distributed Tree Node Count with Two Messages You are given an N-ary tree of machines (one process per node). E...

System Design
49
0
445 people solved
Jul 26, 2025
Shopify logo
Shopify
Medium
Software Engineer AI Locked

Terminal-Controlled Grid Rover Simulator

This question evaluates a candidate's ability to model stateful simulation logic, translating grid coordinates, heading rotations, and sequential comm...

Coding & Algorithms
1
0
10 people solved
Jun 13, 2026
Meta logo
Meta
Medium
Software Engineer

Design an Expected O(1) Randomized Container

Design an Expected O(1) Randomized Container Design a generic container that stores distinct elements and supports: - insert(element) -> bool: add an ...

Software Engineering Fundamentals
0
0
16 people solved
Mar 2, 2026