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
Hive.Ai logo
Hive.Ai
Hard
Software Engineer Locked

Validate Adding an Edge to a Directed Acyclic Graph

Determine whether a proposed directed edge is new and can be added to an existing DAG without creating a cycle. Reject self-loops and duplicates, then...

Coding & Algorithms
0
0
11 people solved
Jun 8, 2026
Hive.Ai logo
Hive.Ai
Hard
Software Engineer Locked

Calculate Trapped Rain Water

Calculate how much rain water is trapped between nonnegative unit-width bars without mutating the input. A two-pointer scan tracks the highest boundar...

Coding & Algorithms
0
0
7 people solved
Jun 8, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Reconstruct the Alphabet Order of an Alien Language

This question tests graph construction and topological sorting, core algorithmic skills for reasoning about partial orderings derived from constraints...

Coding & Algorithms
0
0
1 people solved
Jun 8, 2026
Hulu logo
Hulu
Medium
Data ScientistSenior+ Locked

Design and Monitor a Multi-Country Parameter Experiment

Prepare for experimentation questions spanning sample size, duration, variance reduction, multi-arm parameter tuning, sequential monitoring, and cross...

Analytics & Experimentation
0
0
9 people solved
Jun 7, 2026
Hulu logo
Hulu
Medium
Data ScientistSenior+ Locked

Interpret a Streaming Regression Without Overstating Causality

Learn to explain regression coefficients and confidence intervals to a product partner without turning association into causation. Examine confounding...

Analytics & Experimentation
0
0
14 people solved
Jun 7, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Implement A Contiguous Memory Allocator With Free-Block Coalescing

Review a contiguous memory allocator coding prompt with malloc, free, first-fit allocation, block coalescing, and a best-fit follow-up. The interview ...

Coding & Algorithms
22
1
165 people solved
Jun 5, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Merge Overlapping Intervals

This question tests practical array manipulation and sorting skills by requiring candidates to consolidate overlapping numeric intervals into a minima...

Coding & Algorithms
0
0
6 people solved
Jun 5, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Can All Courses Be Completed?

This question tests graph traversal and cycle detection skills, specifically the ability to model dependency relationships as a directed graph. It eva...

Coding & Algorithms
0
0
2 people solved
Jun 5, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Shift Non-Zero Elements Left In Place

This question tests a candidate's ability to perform in-place array manipulation while preserving element order, evaluating practical understanding of...

Coding & Algorithms
0
0
6 people solved
Jun 5, 2026
Mavenclinic logo
Mavenclinic
Medium
Software Engineer Locked

Check Meeting Attendance With Breaks

This question evaluates proficiency with interval scheduling, time-format conversion, and constraint checking for sequential appointments, measuring a...

Coding & Algorithms
0
0
5 people solved
Jun 5, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Find the Maximum Number of Concurrent Processes

Practice a Amazon coding interview problem focused on find the maximum number of concurrent processes. The prompt emphasizes edge cases, clean impleme...

Coding & Algorithms
0
0
7 people solved
Jun 4, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Evaluate an Arithmetic Expression in Postfix Notation

Practice a Amazon coding interview problem focused on evaluate an arithmetic expression in postfix notation. The prompt emphasizes edge cases, clean i...

Coding & Algorithms
0
0
4 people solved
Jun 4, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Find the Closest Version by Date

Practice a Amazon coding interview problem focused on find the closest version by date. The prompt emphasizes edge cases, clean implementation, and ve...

Coding & Algorithms
0
0
5 people solved
Jun 4, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Choose the Best Travel Mode

Solve a grid-based pathfinding problem where a traveler must choose the transportation mode with the lowest travel time and cost tie-breakers. The que...

Coding & Algorithms
1
0
4 people solved
Jun 4, 2026
Pinterest logo
Pinterest
Medium
Machine Learning Engineer Locked

Hierarchical Access Control for an Advertising Platform

This question tests practical application of graph traversal and access control system design using a directed acyclic group hierarchy. It evaluates a...

Coding & Algorithms
1
0
27 people solved
Jun 3, 2026
Google logo
Google
Medium
Software Engineer Locked

Rearrange Tasks With Cooldown

This question evaluates task-scheduling and constraint-handling skills, testing algorithmic reasoning about arranging repeated jobs with cooldown cons...

Coding & Algorithms
3
0
24 people solved
Jun 3, 2026
Uber logo
Uber
Medium
Software Engineer

Design a Driver Leaderboard Based on Reviews

Design a service that ranks drivers from customer reviews and serves a top-driver leaderboard. The system must accept immutable review events containi...

System Design
0
0
0 people solved
Jun 2, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Implement and Test a Sliding-Window Rate Limiter

Implement and Test a Sliding-Window Rate Limiter Design an in-memory limiter with allow(key, timestamp) for a configurable maximum number of requests ...

Software Engineering Fundamentals
0
0
0 people solved
Jun 2, 2026
Tradedesk logo
Tradedesk
Medium
Software EngineerSenior+ Locked

Calculate Bowling Game Score

This question evaluates a candidate's ability to implement rule-based scoring logic, array processing, and stateful iteration to correctly aggregate f...

Coding & Algorithms
0
0
14 people solved
Jun 2, 2026
Notion logo
Notion
Medium
Software Engineer AI Locked

Find Top Errors in Time Window

This question evaluates the ability to parse JSON logs, apply time-window filtering with inclusive/exclusive boundaries, aggregate error frequencies, ...

Coding & Algorithms
1
1
22 people solved
Jun 1, 2026