Tech Interview Questions

Practice 9,555+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Interview Questions

Practice the exact questions companies are asking right now.

9.6k Questions 505 Companies08.05.2026
Showing 20 results
Role
Instacart logo
Instacart
Medium
Software Engineer

Describe challenges and proud accomplishment

Describe challenges and proud accomplishment Behavioral: Significant Challenge and Proud Accomplishment (Software Engineer Onsite) Provide two concise...

Behavioral & Leadership
2
0
34 people solved
Aug 1, 2025
Citadel logo
Citadel
Medium
Software Engineer

Optimize password transform and discount scheduling

Optimize password transform and discount scheduling Part 1 — Transform to palindromic k-periodic string: Input: a lowercase string currentPassword and...

Coding & Algorithms
15
0
134 people solved
Aug 1, 2025
Samsara logo
Samsara
Medium
Software Engineer

Parse Markdown Links Without Regex

Implement a function that converts simplified link syntax text into an HTML anchor tag <a href="url">text</a> across an entire input string. Constrain...

Coding & Algorithms
13
0
103 people solved
Aug 1, 2025
Circle logo
Circle
Medium
Software Engineer

Design payment scheduler with cancel and top-K outgoing

Design and implement an in-memory banking payment component with the following APIs: ( 1) schedulePayment(payerId, payeeId, amount, executeAt) -> paym...

Coding & Algorithms
14
0
120 people solved
Aug 1, 2025
Uber logo
Uber
Medium
Software Engineer

Implement binary search from scratch

Question Implement binary search on a sorted integer array without using any library helpers (no bisect, Arrays.binarySearch, etc.). Provide both iter...

Coding & Algorithms
11
0
83 people solved
Aug 1, 2025
Meta logo
Meta
Medium
Data Engineer

Return top-3 content per category

Given a collection of items with fields (content_id, category, rating), implement top_k_by_category(items, k= 3) that returns, for each category, the ...

Data Manipulation (SQL/Python)
1
0
3 people solved
Aug 1, 2025
Salesforce logo
Salesforce
Medium
Software Engineer

Design O(nm) grouping of rearranged strings

Given an array of strings, group together words that are permutations of the same characters. Provide a baseline solution that sorts each word (O(n · ...

Coding & Algorithms
10
0
87 people solved
Aug 1, 2025
Google logo
Google
Medium
Software Engineer

Implement zigzag level-order traversal

Given the root of a binary tree, return the node values in zigzag level order: visit nodes level by level, reading the first level from left to right,...

Coding & Algorithms
7
1
61 people solved
Aug 1, 2025
Meta logo
Meta
Medium
Data Engineer

Design visualizations for streaming metrics

Design visualizations for streaming metrics Design a Monitoring and Diagnosis Visualization for a Video-Streaming Metric Context You are building an o...

Analytics & Experimentation
6
0
47 people solved
Aug 1, 2025
Roblox logo
Roblox
Medium
Software Engineer

Design robot path boundedness with repeats

You are given a 2D grid with a set of blocked cells (obstacles) and a robot starting at (0, 0) facing north. The robot executes a finite instruction s...

Coding & Algorithms
21
0
169 people solved
Aug 1, 2025
Meta logo
Meta
Medium
Data Engineer

Compute cumulative metrics with full joins

Tables: - daily_metrics(date DATE, content_id STRING, daily_value BIGINT) - cumulative_metrics(date DATE, content_id STRING, cumulative_value BIGINT) ...

Data Manipulation (SQL/Python)
0
0
8 people solved
Aug 1, 2025
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer

Compute longest palindromic subsequence

Given a string s (1 ≤ |s| ≤ 2000), implement a function that returns the length of the longest subsequence of s that reads the same forward and backwa...

Coding & Algorithms
1
0
25 people solved
Aug 1, 2025
Meta logo
Meta
Medium
Data Engineer

Recommend two-hop follows in Python

Given a directed "follows" graph as a Python dict[str, list[str]], implement recommend_two_hop(graph, user) that returns the set (or a sorted list) of...

Data Manipulation (SQL/Python)
3
0
31 people solved
Aug 1, 2025
Uber logo
Uber
Medium
Software Engineer

Design time-versioned KV without timestamp argument

Design a time-versioned key-value store that does not accept a timestamp argument on writes. Support set(key, value) which stores the value with an in...

Coding & Algorithms
3
0
74 people solved
Aug 1, 2025
Akuna Capital logo
Akuna Capital
Medium
Data Scientist

Design streaming stats with sliding window

Design streaming stats with sliding window Design a data structure that ingests an integer stream and supports online queries for maximum, mean, and m...

Coding & Algorithms
4
0
43 people solved
Aug 1, 2025
Affirm logo
Affirm
Medium
Data Engineer

Write SQL for Transactions and Customers

You are given two tables: - customers(customer_id INT PRIMARY KEY, signup_date DATE, region VARCHAR, segment VARCHAR) - transactions(transaction_id IN...

Data Manipulation (SQL/Python)
0
0
6 people solved
Aug 1, 2025
Meta logo
Meta
Easy
Data ScientistSenior+

Compute invalid event percentage by pixel

Context You work on an ads pixel instrumentation platform. Each pixel emits events throughout the day; some events are missing (not observed) and some...

Data Manipulation (SQL/Python)
0
1
11 people solved
Aug 1, 2025
Uber logo
Uber
Medium
Software Engineer

Define and integrate room ranking factors

Define and integrate room ranking factors Design a Room-Ranking System for Meeting Requests Context You are building a service that assigns conference...

Analytics & Experimentation
3
0
59 people solved
Aug 1, 2025
Meta logo
Meta
Medium
Data Engineer

Check carpool trip feasibility

You are given a list of trips where each trip i is (passengers_i, start_i, end_i) with start_i < end_i on a one-dimensional route. A single vehicle wi...

Coding & Algorithms
6
0
77 people solved
Aug 1, 2025
Nextdoor logo
Nextdoor
Medium
Software Engineer

Implement version string comparator with extensions

Implement a function compareVersions(a, b) that compares two software version strings. Each version consists of dot-separated numeric components (e.g....

Coding & Algorithms
11
0
92 people solved
Jul 31, 2025