Tech Interview Questions

Practice 9,160+ 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.2k Questions 486 Companies08.11.2026
Showing 20 results
Role
Morgan Stanley logo
Morgan Stanley
Medium
Data Scientist Locked

Describe algorithm to find function maximum

This question evaluates understanding of gradient-based optimization and numerical methods for locating extrema, assessing competency in interpreting ...

Machine Learning
2
0
30 people solved
Dec 8, 2025
Morgan Stanley logo
Morgan Stanley
Medium
Data Scientist

Compute maximum non-overlapping meetings

Assume you are given a list of meeting time intervals for a single person. Each meeting i is represented by a pair of integers [start_i, end_i], where...

Coding & Algorithms
2
0
49 people solved
Dec 8, 2025
Meta logo
Meta
Medium
Software Engineer

Sum numbers formed by root-to-leaf paths

You are given the root of a binary tree where each node contains a single digit from 0 to 9. Each root-to-leaf path represents a number obtained by co...

Coding & Algorithms
4
0
39 people solved
Dec 8, 2025
Squarepoint logo
Squarepoint
Medium
Software Engineer

Parse payroll file and answer queries

You are given a payroll "file" as a StringIO (file-like) object in Python. The underlying text represents manually-entered payroll data. Assume the fo...

Coding & Algorithms
4
0
80 people solved
Dec 8, 2025
Robinhood logo
Robinhood
Easy
Software Engineer

Compute trigger counts in a DAG

You are given a directed acyclic graph (DAG) that represents trigger dependencies between tasks. - Each node represents a task. - There is exactly one...

Coding & Algorithms
8
0
107 people solved
Dec 8, 2025
Cloudflare logo
Cloudflare
Easy
Software Engineer

Explain debugging methodology for production issues

In a technical interview, you are asked: > What is your methodology when debugging or when something goes wrong? Describe a systematic approach you wo...

Software Engineering Fundamentals
6
0
69 people solved
Dec 8, 2025
Cloudflare logo
Cloudflare
Easy
Software Engineer

Describe experience performing code reviews

During the interview, you are asked: > Have you ever done any code reviews? If yes, the interviewer may follow up with questions about how you review ...

Behavioral & Leadership
6
0
47 people solved
Dec 8, 2025
Cloudflare logo
Cloudflare
Easy
Software Engineer

Explain technical details of a past project

After you give a high-level overview of a recent project, the interviewer follows up with: > Can you walk me through the technical details of this pro...

Behavioral & Leadership
3
0
46 people solved
Dec 8, 2025
Stripe logo
Stripe
Medium
Software Engineer

Find linked user records by similarity

You are given a list of user records. Each record has the following fields: - id (integer, unique) - name (string) - email (string) - company (string)...

Coding & Algorithms
8
0
78 people solved
Dec 8, 2025
Snapchat logo
Snapchat
Hard
Software Engineer

Design backend for Uber-like ride-hailing service

Design the backend system for a ride-hailing platform similar to Uber. Focus on: - How ride requests are placed and matched with drivers ("order takin...

System Design
3
0
56 people solved
Dec 8, 2025
Google logo
Google
Hard
Software Engineer

Compute city skyline outline

You are given a list of rectangular buildings in a 2D city skyline. Each building is represented by three integers [L, R, H]: - L: the x-coordinate of...

Coding & Algorithms
14
0
132 people solved
Dec 8, 2025
Squarepoint logo
Squarepoint
Medium
Data Scientist

Maximize revenue from inventory sales

Problem A store has n different products. For each product i (0-indexed), you are given an integer quantity[i] representing how many units of that pro...

Coding & Algorithms
6
0
64 people solved
Dec 8, 2025
Applied logo
Applied
Hard
Software Engineer

Track simulations and report timeouts

You are implementing a monitoring component for many concurrent simulations. Each simulation produces a stream of event objects of the form: - sim_id ...

Coding & Algorithms
2
0
28 people solved
Dec 8, 2025
Google logo
Google
Hard
Software Engineer

Shuffle array using random integer API

You are given an array nums of length n representing a deck of distinct cards. You do not have access to a built-in shuffle function, but you are give...

Coding & Algorithms
6
0
80 people solved
Dec 8, 2025
Netflix logo
Netflix
Medium
Software Engineer

Find user pairs with overlapping last K movies

You are given the same user movie-watching histories as in the previous problem. Each user’s history is an ordered list of movie IDs from earliest to ...

Coding & Algorithms
21
0
146 people solved
Dec 8, 2025
Uber logo
Uber
Medium
Software Engineer

Detect cycle in directed dependency graph

You are given a directed dependency graph representing services in a system. - There are n services, labeled from 0 to n - 1. - You are given a list o...

Coding & Algorithms
6
0
90 people solved
Dec 8, 2025
Verkada logo
Verkada
Medium
Software Engineer

Find common active intervals across cameras

You are now processing data from multiple security cameras. You are given: - An integer N, the number of cameras. - A threshold value T (a real number...

Coding & Algorithms
7
1
79 people solved
Dec 8, 2025
Rippling logo
Rippling
Medium
Software Engineer

Compute median of two sorted arrays

You are given two sorted arrays of integers nums1 and nums2. - nums1 has length m, nums2 has length n. - Both arrays are sorted in non-decreasing orde...

Coding & Algorithms
11
0
213 people solved
Dec 8, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Find shortest path in a grid with obstacles

You are given a 2D grid of size m x n representing a maze. Each cell in the grid is either empty (0) or blocked (1). You are also given two coordinate...

Coding & Algorithms
5
0
66 people solved
Dec 8, 2025
Meta logo
Meta
Medium
Software Engineer

Design an online coding platform

Design an online coding practice and interview platform (similar to well-known coding challenge sites). The platform should allow: - Users to sign up,...

System Design
4
0
44 people solved
Dec 8, 2025