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
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Solve Throughput, Rate Limiting, and LFU

This set of tasks evaluates algorithmic problem-solving, data structure design, and systems-oriented reasoning by testing throughput calculation, roll...

Coding & Algorithms
10
0
90 people solved
Mar 20, 2026
eBay logo
eBay
Medium
Software Engineer

Implement an In-Memory File System

Design an in-memory file system that supports file management, search, user ownership, capacity limits, copying, and compression. Each file has a uniq...

Coding & Algorithms
4
0
32 people solved
Mar 19, 2026
Uber logo
Uber
Hard
Software Engineer Locked

Solve two online assessment problems

This two-part prompt evaluates algorithmic problem-solving skills: the first problem tests optimization under index-based movement and number-theoreti...

Coding & Algorithms
12
0
122 people solved
Mar 19, 2026
Eightfoldai logo
Eightfoldai
Medium
Software Engineer

Make a Parentheses String Valid

Given a string s containing lowercase English letters and the characters '(' and ')', remove the minimum number of parentheses so that the resulting s...

Coding & Algorithms
8
0
91 people solved
Mar 19, 2026
Meta logo
Meta
Medium
Software Engineer

Solve Four Online Assessment Problems

Complete the following four independent coding tasks. For each task, write a function that returns the requested result. 1. Find the best value index ...

Coding & Algorithms
10
0
84 people solved
Mar 19, 2026
Snapchat logo
Snapchat
Hard
Software Engineer

Solve Three Algorithmic Tasks

You were asked three coding problems: 1. Count events inside a time window - You are given an initial collection of event timestamps in HH:MM:SS fo...

Coding & Algorithms
3
0
31 people solved
Mar 18, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Find Minimum Time Across a Grid

This question evaluates algorithm design and problem-solving skills related to grid-based reachability with time-dependent constraints, assessing the ...

Coding & Algorithms
4
0
42 people solved
Mar 18, 2026
Google logo
Google
Hard
Software Engineer Locked

Find Maximum Envelope Nesting

This question evaluates algorithmic problem-solving skills, particularly reasoning about multi-dimensional ordering, sequence optimization, and time-c...

Coding & Algorithms
4
0
72 people solved
Mar 18, 2026
Axon logo
Axon
Medium
Software Engineer Locked

Design body camera checkout system

This question evaluates competency in in-memory data structure design, algorithmic complexity (achieving O(1) average operations), and randomized reso...

Coding & Algorithms
5
0
47 people solved
Mar 16, 2026
Nextdoor logo
Nextdoor
Medium
Software Engineer

Merge Weekly Time Intervals

You are given a list of time intervals within a single week. Each time is written as a day-of-week plus a 24-hour clock, for example Sat 13:00 or Mon ...

Coding & Algorithms
10
0
79 people solved
Mar 16, 2026
Robinhood logo
Robinhood
Medium
Software Engineer

Implement Calendar Layout and String Packing

The interview reportedly included two separate coding exercises: 1. Day-view calendar layout - You are given a list of events for a single day. Eac...

Coding & Algorithms
3
0
43 people solved
Mar 16, 2026
Booking logo
Booking
Medium
Software Engineer

Match Bookings to Payments

You are given two unsorted lists: - bookings: each record contains at least a unique booking_id - payments: each record contains at least a booking_id...

Coding & Algorithms
7
0
79 people solved
Mar 15, 2026
Pinduoduo logo
Pinduoduo
Easy
Software Engineer Locked

Determine Straight Flush

This question evaluates competency in algorithmic pattern detection and data-structure manipulation applied to domain-specific representations, focusi...

Coding & Algorithms
3
0
24 people solved
Mar 15, 2026
Generalmotors logo
Generalmotors
Hard
Machine Learning Engineer Locked

Count Islands in a Grid

This question evaluates skills in graph traversal and grid connectivity detection, testing competency in reasoning about adjacency, state management, ...

Coding & Algorithms
1
0
23 people solved
Mar 14, 2026
Hudson logo
Hudson
Hard
Software EngineerNew Grad

Implement Order Modification Feature

You are given an existing C++ trading system with a client/server architecture. The current system already supports two request types: - AddOrder(orde...

Coding & Algorithms
7
0
63 people solved
Mar 13, 2026
Bloomberg logo
Bloomberg
Easy
Software Engineer

Check connectivity between two subway stations

You are given a description of subway stations A, B, C, D, E, ... as a graph. For each station, you are told which other stations it directly connects...

Coding & Algorithms
15
1
145 people solved
Mar 11, 2026
Ramp logo
Ramp
Medium
Software Engineer

Maximize Earnings by Converting Days Off into Workdays

Maximize Earnings by Converting Days Off into Workdays An employee is planning a work schedule for n consecutive days. For day i you are given whether...

Coding & Algorithms
1
0
9 people solved
Mar 11, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Design an Editable Text Buffer

This question evaluates data structure design, mutable state management, undo/redo semantics, and prefix-based autocomplete indexing with dynamic freq...

Coding & Algorithms
22
0
168 people solved
Mar 11, 2026
LinkedIn logo
LinkedIn
Easy
Software Engineer AI Locked

Debug Queues and Solve Arrays

This multi-part question evaluates competencies in data structures (heap invariants and in-place array manipulation), concurrent programming (designin...

Coding & Algorithms
7
0
96 people solved
Mar 10, 2026
Pinterest logo
Pinterest
Medium
Data Scientist Locked

Implement weighted random choice

This question evaluates understanding of weighted random sampling, probability distributions, input validation, and algorithmic time and space complex...

Coding & Algorithms
11
0
70 people solved
Mar 10, 2026