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

Find exit URL via BFS API calls

Question Design and implement a function that, given a starting URL "/", performs BFS or DFS by repeatedly sending HTTP GET requests of the form GET "...

Coding & Algorithms
97
0
310 people solved
Jul 29, 2025
Capital One logo
Capital One
Medium
Software Engineer

Solve string merge and grid path tasks

Question Given two equal-length strings s1 and s2, create a new string by iterating i = 0 … n-1, comparing s1[i] with s2[n-1-i]: append s1[i]; if the ...

Coding & Algorithms
76
0
102 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Design Ticket Booking Auto Release

Design Ticket Booking Auto Release System Design: Auto-expiring Ticket Reservations Problem Design a ticket-booking system where a reserved ticket aut...

System Design
11
0
39 people solved
Jul 29, 2025
TikTok logo
TikTok
Hard
Software Engineer

Explain Your System Architecture

Explain Your System Architecture System Design Interview: End-to-End Architecture Deep Dive Task Explain the end-to-end architecture of a production s...

System Design
9
0
73 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Implement right side view and local minimum search

Question LeetCode 199. Binary Tree Right Side View — Given the root of a binary tree, return the values of the nodes you can see ordered from top to b...

Coding & Algorithms
29
0
79 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Compute product of array except self

Given an integer array nums, return an array out where out[i] equals the product of all elements in nums except nums[i]. Do it in O(n) time using cons...

Coding & Algorithms
2
0
24 people solved
Jul 29, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Find minimal time to serve customers

Find minimal time to serve customers You manage a bank with k tellers; teller i takes serviceTimes[i] minutes to serve one customer and works continuo...

Coding & Algorithms
5
0
91 people solved
Jul 28, 2025
Apple logo
Apple
Medium
Software Engineer Locked

Design an Accurate Click Aggregator

This question evaluates a candidate's ability to design reliable, high-throughput event processing and analytics systems, emphasizing data modeling, i...

System Design
9
0
78 people solved
Dec 22, 2025
Apple logo
Apple
Medium
Software Engineer Locked

Find k Smallest Pair Sums

This question evaluates skills in algorithm design, working with sorted arrays, pairing and ordering elements, and analyzing time and space complexity...

Coding & Algorithms
9
0
65 people solved
Dec 22, 2025
Lyft logo
Lyft
Medium
Software Engineer

Implement paginated retrieval of transactions

Implement paginated retrieval of transactions Given a large list of transaction records (id, userId, amount, createdAt), implement APIs to return tran...

Coding & Algorithms
11
0
168 people solved
Jul 27, 2025
Citi logo
Citi
Medium
Data ScientistSenior+

How would you A/B test first trade rate?

Coinbase wants to increase the rate at which newly signed-up retail users place their first trade. Design an A/B test for a product change intended to...

Analytics & Experimentation
5
0
48 people solved
Mar 25, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Solve anagram grouping and in-place allocator

This two-part question evaluates algorithmic problem-solving across string grouping and constrained in-place memory allocation, testing string-process...

Coding & Algorithms
6
0
53 people solved
Dec 21, 2025
Citibank logo
Citibank
Medium
Data Scientist

Ensure model ethics and governance

Ensure model ethics and governance Ensuring Model Ethics Across Development and Deployment Context You are interviewing for a Data Scientist role in a...

Behavioral & Leadership
2
0
50 people solved
Jul 26, 2025
Citibank logo
Citibank
Medium
Data Scientist

Compare CECL vs incurred loss

CECL vs. the Prior Incurred Loss Model You are advising a bank's credit-risk modeling team on US GAAP credit-loss estimation for a lending portfolio. ...

Statistics & Math
5
0
51 people solved
Jul 26, 2025
TikTok logo
TikTok
Medium
Software Engineer

Solve top-K and string rotation match

Solve top-K and string rotation match 1) Given an unsorted array of integers and an integer k, return the k largest elements in descending order. Impl...

Coding & Algorithms
2
0
41 people solved
Jul 26, 2025
Palantir logo
Palantir
Medium
Software Engineer

Solve two algorithm problems from a menu

Choose two problems from an algorithms menu (arrays, strings, hash maps, graphs). For each: 1) state clarifying assumptions, 2) implement a correct so...

Coding & Algorithms
13
0
129 people solved
Jul 26, 2025
Uber logo
Uber
Hard
Software Engineer

Design a meeting scheduler with cancellations

Design a meeting scheduler with cancellations System Design: Meeting Scheduling Platform (Onsite) Context Design a multi-tenant meeting scheduling sys...

System Design
14
0
170 people solved
Jul 26, 2025
Retool logo
Retool
Medium
Software Engineer

Compute max profit with forced trades

Compute max profit with forced trades Given an array prices where prices[i] is the stock price on day i, solve two related tasks under a forced-trade ...

Coding & Algorithms
11
0
82 people solved
Jul 26, 2025
Amazon logo
Amazon
Medium
Data Scientist

Find recommended friend pairs by shared songs

You work on a music app and want to recommend “friend” connections based on listening similarity. Assume the following tables (all timestamps are in U...

Data Manipulation (SQL/Python)
5
0
46 people solved
Dec 20, 2025
Meta logo
Meta
Easy
Data Scientist Locked

Design metrics and experiment for stolen-post detection

Evaluates skills in metrics design, diagnostic analysis, and online experiment methodology within Analytics & Experimentation for a Data Scientist pos...

Analytics & Experimentation
13
0
91 people solved
Dec 18, 2025