Practice questions for 300+ companies, plus questions candidates reported from their interviews.
11,568 questions · 341 companies · 1,114 reported by candidates
Showing 11,568 results
Design and implement an idempotent POST endpoint for posting a card payment so that client retries after timeouts never post the same payment twice, and reused keys with different bodies are rejected.
Each driver's daily availability is a 24-bit integer where bit h is set if the driver is online during hour h. Return the hour with the most drivers online (smallest hour on ties) and that count.
For each string in a list, compute the sum over all its non-empty prefixes of how many strings in the list start with that prefix.
Design the delivery path that streams model tokens to ChatGPT clients so that a user who loses connectivity mid-answer can reconnect, from any device, and resume the same response without regenerating it.
Tell me about a time you badly underestimated a project, how you found out, and how you handled it with stakeholders.
Motive wants to know whether in-cab AI coaching plus manager coaching workflows actually reduce collisions. Design the experiment or analysis, choose metrics, and explain how you would handle rare outcomes and fleet-level effects.
Nest camera sales are flat while recurring revenue from Nest Aware grows. Should Google move core camera features like video history behind a mandatory subscription?
Tell me about a time you designed for customers in a difficult situation where the business and customer interests seemed to conflict. How did you balance them?
Glasses are stacked in a pyramid where row i has i + 1 glasses, each holding one cup. Pour a number of cups into the top glass; any excess beyond one cup splits equally into the two glasses below. Return how full the glass at (row, index) is, between 0 and 1.
Tell me about a time you pushed to properly support users in a language or market your team had treated as an afterthought.
Given a build number as a string of digits and an integer k, delete exactly k digits so the remaining number is as small as possible, and return it without leading zeros ("0" if nothing remains).
Tell me about a time you disagreed with a product manager or senior stakeholder about shipping something close to a high stakes deadline, such as a code freeze before a major sale.
Describe a time you needed several other teams to change their systems to achieve a goal you owned, without any authority over them. How did you get it done?
A fraud rule flags 95% of fraudulent transactions and 2% of legitimate ones, and 0.2% of all transactions are fraudulent. What is the probability that a flagged transaction is actually fraud, and what does that mean for how flags should be handled?
Given a driver's contiguous duty status log (driving, on duty, off duty, sleeper berth) and the current time, compute how many minutes the driver may still drive and which rule is binding, applying the 11-hour driving limit, the 14-hour on-duty window, the 30-minute break after 8 hours of driving, and a 10-hour off-duty reset.
Build a structure that records destination searches with counts and, given a typed prefix, returns the top k destination names by search volume (ties broken alphabetically). Suggestions must be fast because they run on every keystroke.
Given n data centers, network links (u, v, latency), and queries (u, v, limit), answer for each query whether u can reach v using only links with latency strictly below limit.
TikTok's CDN links have different capacities, and a route's usable bandwidth is the capacity of its weakest link. Given undirected links `(u, v, gbps)`, find the maximum bottleneck bandwidth achievable from a source edge node to a destination.
Tell me about a time you had to launch or lead something new where there was no historical data or agreed definition of success. How did you decide what to measure and what to do?
Tell me about a time a demanding internal user, such as a portfolio manager or trader, needed a change urgently while markets were open and the safe answer was not the fast one. What did you do?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.