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

Implement memcpy with misaligned addresses

This question evaluates a candidate's understanding of low-level memory manipulation, pointer alignment, and the implementation of efficient byte-copy...

Coding & Algorithms
3
0
43 people solved
Jan 2, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Assign tasks to workers with types and accounts

This question evaluates algorithmic scheduling and dynamic resource-allocation skills, including priority-queue/heap usage, time-based simulation, and...

Coding & Algorithms
5
0
74 people solved
Jan 2, 2026
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Implement a dictionary without built-in Dictionary

This question evaluates understanding of hash tables and low-level data-structure implementation, including hashing, collision resolution, resizing/re...

Coding & Algorithms
8
0
60 people solved
Jan 2, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Find top-k lottery winners by spending

This question evaluates skills in selection and ordering of numeric-keyed records, covering concepts such as order statistics, deterministic tie-break...

Coding & Algorithms
7
0
63 people solved
Jan 1, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Implement power, reduce string, parse tree, debug maze

This multi-part question evaluates numerical algorithms (fast exponentiation), string-processing and reduction logic, recursive parsing and tree const...

Coding & Algorithms
3
0
49 people solved
Jan 1, 2026
Instacart logo
Instacart
Medium
Software Engineer Locked

Implement multiple coding round problems

This multi-part question evaluates algorithmic problem-solving skills including efficient lookup/search, stable ordering and priority management, stre...

Coding & Algorithms
19
0
191 people solved
Jan 1, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Design a stack with max removal

Design a stack-like data structure for integers that supports the following operations efficiently: - push(x): insert x onto the stack. - pop(): remov...

Coding & Algorithms
4
0
53 people solved
Jan 1, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Design ad click tracking and dashboard at scale

This question evaluates a candidate's skills in designing large-scale distributed systems including real-time data ingestion and aggregation, storage ...

System Design
3
0
45 people solved
Jan 1, 2026
Ansys logo
Ansys
Medium
Software EngineerIntern

Implement Prefix Search and Node Removal

This interview included two coding tasks: 1. Implement a prefix-search data structure for strings with two operations: insert(word) and count_with_pre...

Coding & Algorithms
3
0
28 people solved
Dec 31, 2025
Uber logo
Uber
Easy
Software Engineer

Find smallest start index avoiding left exit

You are given an integer array jump of length n (0-indexed). If you are currently at index i, your next position becomes i + jump[i] (a positive value...

Coding & Algorithms
5
0
43 people solved
Dec 30, 2025
Meta logo
Meta
Medium
Software Engineer Locked

Maximize Letters from Disjoint Words

This question evaluates understanding of combinatorial selection, set-based constraints, and efficient representation and enumeration of candidate sub...

Coding & Algorithms
2
0
23 people solved
Dec 30, 2025
Uber logo
Uber
Medium
Software Engineer

Build a Quadtree and Analyze a Graph

Solve the following two coding problems. 1. Build a quadtree from an image You are given an N x N matrix of integers representing an image, where N is...

Coding & Algorithms
8
0
61 people solved
Dec 28, 2025
Google logo
Google
Medium
Software EngineerIntern Locked

Maximize 1D deliveries within distance and minimize total distance

This question evaluates combinatorial optimization and constrained matching skills, focusing on reasoning about distance-based pairings, lexicographic...

Coding & Algorithms
7
0
81 people solved
Dec 27, 2025
ZipHQ logo
ZipHQ
Medium
Software Engineer

Maximize non-adjacent sum on an N-ary tree

You are given an N-ary tree (each node may have 0..k children). Each node contains an integer value (can be 0 or positive). You want to select a set o...

Coding & Algorithms
28
0
288 people solved
Dec 26, 2025
LinkedIn logo
LinkedIn
Medium
Software EngineerSenior+ Locked

Compute graph distance and impacted services

This question evaluates proficiency in graph algorithms and traversal (shortest-path/BFS and cycle handling), file-path/tree modeling, dependency grap...

Coding & Algorithms
15
0
164 people solved
Dec 26, 2025
Uber logo
Uber
Hard
Software Engineer

Find cheapest flight with at most K stops

Problem You are given a directed weighted graph representing flights between cities. Inputs - An integer n: number of cities, labeled 0..n-1. - A list...

Coding & Algorithms
8
0
79 people solved
Dec 25, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Implement cloud storage with quotas and compression

Problem Implement an in-memory cloud storage service that supports multiple users, per-user storage quotas, changing quotas with eviction, and file co...

Coding & Algorithms
22
0
217 people solved
Dec 25, 2025
TikTok logo
TikTok
Easy
Software Engineer Locked

Solve three classic coding problems

These tasks evaluate algorithmic problem-solving, data structure mastery, and implementation skills within the Coding & Algorithms domain, touching on...

Coding & Algorithms
4
0
37 people solved
Dec 24, 2025
Shopify logo
Shopify
Easy
Software Engineer

Implement a multi-rover Mars controller

Problem Build a small command-line “Mars Rover Controller” program. Single rover (v1) A rover starts at coordinate (0, 0) on an infinite 2D grid and i...

Coding & Algorithms
34
0
383 people solved
Dec 23, 2025
Instacart logo
Instacart
Medium
Software Engineer

Implement timestamped task management system APIs

You are implementing an in-memory Task Management System. All API methods are called with a timestamp representing the logical time when the operation...

Coding & Algorithms
25
0
223 people solved
Dec 21, 2025