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 480 Companies08.05.2026
Showing 20 results
Role
Pinterest logo
Pinterest
Medium
Software Engineer

Collect Pins from Reachable Boards

Collect Pins from Reachable Boards The interview report names a board-and-pin coding problem whose intended approach was breadth-first search but does...

Coding & Algorithms
1
0
16 people solved
Jul 2, 2026
Microsoft logo
Microsoft
Medium
Data Scientist

Compute the Product of an Array Except Self

The interview report preserved the input-output example but not every original restriction. The following is a self-contained version of the reported ...

Coding & Algorithms
8
1
59 people solved
May 4, 2026
Coinbase logo
Coinbase
Medium
Software Engineer

Design a task management system with TTL

Task Management System (in-memory) Design and implement an in-memory task management system that supports tasks, users, task assignment with TTL (time...

Software Engineering Fundamentals
40
0
338 people solved
Feb 11, 2026
Bytedance logo
Bytedance
Medium
Software Engineer

Remove Duplicate Letters Lexicographically

Remove Duplicate Letters Lexicographically Given a lowercase string, remove repeated occurrences so that every distinct letter appears exactly once. T...

Coding & Algorithms
0
0
13 people solved
Jul 9, 2026
Google logo
Google
Easy
Data Scientist

Select MOST/LEAST appropriate actions (SJT)

Situational Judgment Test (SJT): Choose the MOST and LEAST appropriate action This question reproduces the format of a pre-interview Situational Judgm...

Behavioral & Leadership
35
0
536 people solved
Dec 2, 2025
Meta logo
Meta
Hard
Machine Learning Engineer Locked

Implement 1NN Embeddings and Forward Pass

This question evaluates proficiency in vectorized linear algebra and neural-network forward-pass implementation within the Machine Learning domain, co...

Machine Learning
11
0
133 people solved
May 19, 2026
Apple logo
Apple
Easy
Software EngineerSenior+

Parse and Summarize HTTP Access Logs

Parse and Summarize HTTP Access Logs Given a list of raw access-log strings, parse valid records and report the number of total requests, client error...

Software Engineering Fundamentals
1
0
15 people solved
May 3, 2026
Apple logo
Apple
Easy
Software EngineerSenior+

Design APIs for a Voting System

Design APIs for a Voting System Design the APIs and core data model for a voting system. Begin by clarifying the type of vote: identified or anonymous...

System Design
1
0
15 people solved
May 3, 2026
Figma logo
Figma
Medium
Software Engineer

Design an Async Job Scheduler

Design an asynchronous job scheduler service. The service must support two job types: 1. Immediate jobs: submitted jobs that should run as soon as pos...

System Design
33
1
254 people solved
Jan 10, 2026
Snowflake logo
Snowflake
Hard
Software Engineer

Count a Distributed Tree with Nonblocking Messages

Count a Distributed Tree with Nonblocking Messages A tree's nodes run as independent processes on different machines. A node knows only its own ID, it...

Software Engineering Fundamentals
1
0
11 people solved
May 24, 2026
Google logo
Google
Medium
Software Engineer Locked

Simulate room assignments for scheduled meetings

This question evaluates scheduling and event-simulation skills, including time-ordered processing, resource allocation with tie-breaking, and efficien...

Coding & Algorithms
14
0
128 people solved
Jan 6, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Implement and Debug Backprop in NumPy

Two-Layer Neural Network: Backpropagation and Gradient Check (NumPy) You are implementing a fully connected two-layer neural network for multi-class c...

Machine Learning
91
1
1720 people solved
Sep 6, 2025
Shopify logo
Shopify
Easy
Machine Learning Engineer

Design a robot movement command system

Robot Movement (Pair Programming) You are given an empty starter repository (only a README). Implement a small, testable robot movement module that ca...

Coding & Algorithms
53
0
476 people solved
Dec 15, 2025
Optiver logo
Optiver
Medium
Software Engineer

Optiver Beat The Odds: Five Rapid-Fire Probability Brainteasers (Dice, Cards, Coins, Pigeonhole)

You are taking a timed online quantitative assessment (in the style of Optiver's "Beat The Odds" test). It consists of rapid-fire probability question...

Software Engineering Fundamentals
20
0
277 people solved
Dec 18, 2025
Stripe logo
Stripe
Hard
Software Engineer

Design ledger and bikemap integration

System Design: Strongly Consistent Ledger + External Service Integration Design two loosely related components for a production-grade environment, and...

System Design
341
0
2475 people solved
Jul 29, 2025
Anthropic logo
Anthropic
Hard
Software Engineer

Build a Versioned In-Memory Database

Build a Versioned In-Memory Database The source reports a four-stage in-memory database exercise but does not provide its exact method signatures. The...

Coding & Algorithms
2
0
18 people solved
Jul 8, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Build a Progressive Cloud Storage System

Build a Progressive Cloud Storage System The source reports four storage stages but not the exact API. The command encoding, quota accounting, compres...

Coding & Algorithms
1
0
24 people solved
Jul 8, 2026
Lead logo
Lead
Medium
Software Engineer

Design Room-Level Hotel Reservations Without Double Booking

Design Room-Level Hotel Reservations Without Double Booking Design a hotel reservation service that models individual room numbers rather than abstrac...

System Design
0
0
6 people solved
Jul 8, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design an AI playground editor

This question evaluates full-stack system design competencies including real-time response streaming, rich-text editor data modeling, backend APIs, pe...

System Design
26
0
295 people solved
Apr 2, 2026
Uber logo
Uber
Medium
Software Engineer AI Locked

Design a Parking Lot

This question evaluates object-oriented modeling, API design, resource allocation, and concurrency control by asking for classes, relationships, key m...

Software Engineering Fundamentals
78
0
755 people solved
Apr 21, 2026