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 the system that enforces per-app and per-endpoint request quotas for third-party developers using TikTok's public APIs, such as login, content posting and research access.
Fraudsters buy Meta ads with stolen cards or compromised business accounts and run scam ads until the charge is disputed. Design an ML system that scores ad accounts and payment attempts to stop this fraud while keeping onboarding smooth for legitimate small businesses.
Design an ML system that, when a vehicle checks in for service, recommends additional maintenance items the advisor should present (for example cabin filter, brake fluid, alignment), using vehicle, mileage, service history and inspection data, and measure whether it helps.
Tell me about a time you were stuck on something and decided to ask others for help. How did you decide when to ask, and how did you make it easy for them?
Implement a single-instrument limit order book that accepts buy and sell limit orders, matches them with price-time priority at the resting order's price, supports partial fills and cancels, and reports best bid and ask.
Given Marketplace sessions with an entry point and a list of events per session, compute the share of sessions in which the user sent at least one message to a seller, by entry point, for the last week.
Design a Dapper-style distributed tracing system that records the path and latency of requests across thousands of services, with sampling, low overhead, and a UI to find the slowest spans for a given request type.
n servers are connected as an undirected tree of replication links. Return every server that, chosen as the root, gives a tree of minimum height.
Given a patient's plan (deductible, coinsurance rate, out-of-pocket maximum, and amounts already met) and a list of allowed amounts for upcoming therapy sessions in date order, return what the patient owes for each session.
Build an IPv4 routing table that supports adding a prefix with a next hop, removing a prefix, and looking up the next hop for an address using longest prefix match.
Write a function that takes a string and returns whether it is a structurally valid 9-digit ABA routing number, using the 3-7-1 weighted checksum and the allowed Federal Reserve prefix ranges.
Given two n x n binary map tiles, return whether rotating the first tile by 0, 90, 180 or 270 degrees clockwise makes it identical to the second.
A short link service stores redirects from one path to another, and targets can themselves redirect. Given the redirect map and a list of starting paths, return each path's final destination, or 'LOOP' if following redirects never terminates.
Each employee node has a pointer to their manager (the CEO's manager is None). Given two employee nodes, return their lowest common manager, which may be one of the two employees themselves.
Tell me about a time you took a feature from a vague customer or user request all the way to production, including the decisions you made without being told, and what happened after it shipped.
Given a grid of engagement scores, return the length of the longest path that moves up, down, left or right and visits strictly increasing scores.
A small service mesh is an undirected connected graph of n services (n up to about 12). Return the length of the shortest walk that visits every service at least once, where the walk can start and end anywhere and may revisit nodes and edges.
Design a store with set(city, rule, timestamp) and get(city, timestamp) that returns the rule that was in effect at that time, meaning the value set with the largest timestamp at or before the query, or an empty string if none.
Attentive wants to show brands that sending each subscriber a campaign at their predicted best hour drives more revenue than sending everyone at one fixed time. Design the experiment and the analysis that proves the lift.
Using a shipments table with carrier, origin port, destination port, scheduled arrival and actual arrival, compute each carrier's monthly on-time arrival rate per trade lane (on time meaning within one day of schedule) and rank carriers within each lane and month.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.