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
Given a five-field cron expression such as "*/15 9-17 * 1,6 1-5", return, for each field (minute, hour, day of month, month, weekday), the sorted list of values on which the job fires, supporting wildcards, ranges, lists, and steps, and rejecting out-of-range input.
Samsara safety managers coach drivers using flagged dash cam clips, but coaching is not randomized. Design an analysis to estimate whether coaching a driver reduces their harsh event rate over the following month.
Given a map from cart id to the list of SKUs in that cart (an SKU may appear more than once), return every group of two or more carts holding exactly the same items with the same quantities. Sort ids within each group and sort the groups.
From a payments table, return every successful payment that follows an earlier successful payment from the same debit account to the same beneficiary for the same amount within 10 minutes, along with the id of that earlier payment.
Given cities, one-way flights with prices, a source, a destination, and a maximum number of intermediate stops, return the cheapest total price and the route, or -1 if no route fits the stop limit.
WhatsApp Channels launched in India and a few other countries weeks before the rest of the world. A colleague's difference-in-differences shows +8% messages sent in launch countries. How do you check whether you should believe it?
As a manager, tell me about a time two people on your team were in a conflict that was hurting the team. How did you handle it?
DoorDash gives customers automatic credits when an order is very late. Finance wants to cut the program. Design a way to measure its long-term value and decide whether to keep it.
Given an m x n grid of daily ad spend deltas (may be negative) and a budget k, return the largest sum of any axis-aligned sub-rectangle that is less than or equal to k.
Tell me about a time you stepped into a technical leadership role on a team that already had its own experts and habits, and how you earned the influence to lead.
Given a reference to one node of a connected, undirected fulfillment network where each node has an ID and a list of neighbor nodes, return a deep copy of the whole graph.
Your team trained a model that extracts vendor name, invoice number, dates, currency, total and line items from invoice PDFs. Before it can auto-populate invoices for approval, decide how you will evaluate it: data, metrics per field, thresholds, and what would block launch.
Tell me about a time you disagreed with launching a machine learning model because of fairness or harm concerns, even though the headline metrics looked good.
Make a two-sided market on the number of Uber rides completed on a Friday in a large US city of about 8 million people. Then adjust your quote after learning that a major stadium event is happening.
Given a list of charts, each with the CPT codes about to be billed and the documentation sections present, and a map from code to the sections that code requires, return every chart with missing sections grouped by code.
Given a log of visit timestamps per user, return for each day the number of distinct users visiting for the first time ever and the number of returning users.
You trained a job apply probability model after keeping all positives and only 5% of negatives. The model's average predicted probability is now 20% while the true apply rate is about 1.2%. Explain why and how to recover calibrated probabilities.
A compressed scan log stores pairs (count, package_type). Implement next(n), which consumes n scans and returns the type of the last scan consumed, or -1 if fewer than n scans remain.
Uber wants to show an Uber One free-trial offer on the ride confirmation screen. Design a simple experiment and pick the metrics that decide whether it should launch.
Meta's ad revenue in one region came in 6% below forecast for the quarter. Leadership wants to know how much is due to fewer impressions, lower prices, and shifts in placement mix. How would you decompose it?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.