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
Describe a time you became a bottleneck for your team because you did not delegate, and how you fixed it.
Given n Dashers and orders as (arrival, duration) sorted by arrival, assign each order to the free Dasher with the lowest id, or if none is free, to the Dasher who frees up earliest (ties by id), delaying the order; return each order's Dasher and per-Dasher counts.
Sellers on Facebook Marketplace often repost the same item with small title edits. Write Python that groups a seller's listings that have similar titles, prices within 5 percent, and post times within 24 hours, and returns the id of the earliest listing in each group.
Build a router that registers templates like /v1/videos/:id/comments and /v1/static/*, then matches a concrete path to the best route and returns captured parameters, preferring literal segments over parameters over catch-alls.
Google Scholar wants to predict which newly published papers will become highly cited within three years, to improve ranking for fresh results. Design features from the citation and co-authorship graph, and explain how to compute them without leaking future information.
Bubbles in a row have values; popping bubble i earns left * value[i] * right where left and right are its current neighbors (treated as 1 past the ends), and you must return the maximum total for popping all of them.
Given a table of user activity dates, compute for every day the number of distinct users active in the trailing 28 days, and explain how to make it scale when the activity table has billions of rows.
A feature that sends Screen Time weekly summary notifications rolled out to all users at different times by country, with no holdout. Estimate whether the reports reduced daily phone usage.
Given the token counts of a document's paragraphs in order and a maximum number of chunks, group consecutive paragraphs into at most that many chunks so the largest chunk has as few tokens as possible, never splitting a paragraph.
Describe a time you designed or optimized a feature specifically for users with constrained devices or networks, and what tradeoffs you made for them.
A launch site receives a list of airspace closure windows that may overlap and arrive unsorted. Given the current time, a required uninterrupted flight duration and a planning horizon, return the earliest launch time that fits entirely between closures, or None if no slot exists.
Pallets in a row each carry a value; removing pallet i scores left * value[i] * right using its current neighbors (a missing neighbor counts as 1), and the row closes up after each removal. Return the maximum total score.
Design a system that scores every payment across retail, card and corporate channels for money laundering risk, combines rules with machine learning, routes alerts to investigators, and keeps false positives low enough that the alert queue stays workable.
Advertisers are billed in local currencies. Given spend (date, advertiser_id, currency, amount) and an FX table (date, currency, usd_per_unit) that has no rows on weekends and holidays, convert spend to USD using the most recent available rate on or before each spend date, and total USD spend per day.
Design the storage layout and query execution for answering ad-hoc funnel, retention and breakdown queries over trillions of raw events per year in a few seconds, without pre-aggregating by known dimensions.
Feed traffic is 50% US, 30% Europe, and 20% Asia Pacific, with request failure rates of 1%, 2%, and 4%. Given that a randomly sampled request failed, what is the probability it came from Asia Pacific?
The number of members creating posts each week fell 7% starting the day after a new iOS and Android release that redesigned the share box. Determine whether the release caused the drop and what to do.
Describe a time you helped a new team start using a data platform or pipeline your team owned. What did you do to make them successful quickly?
Given tables of expert task submissions and reviewer decisions, write SQL that reports, for each expert and ISO week, the number of reviewed submissions, the approval rate, and a flag when the rate drops more than 20 points below the expert's prior four-week average.
A Google team of n people draws names at random for a gift exchange. What is the expected number of people who draw their own name, and what is its variance?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.