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
A Surface Hub boot animation lights an LED panel in a clockwise spiral starting from the top left. Given the panel as a matrix of values, return the values in the order they would light up.
A hate speech classifier outputs a score per Instagram comment. Explain how you would choose one threshold for automatic removal and another for sending to human review, given the costs of each type of error.
Design an OpenAI-compatible gateway that fronts dozens of LLM providers and self-hosted models for an enterprise, enforcing per-team rate limits and budgets, routing and failing over between providers, and logging cost and latency for every request, while adding only a few milliseconds of overhead.
Given a list of distinct command names, return for each one the shortest prefix that identifies it uniquely among the list, or the whole name if it is itself a prefix of another command.
Given a duration string made of number-unit pairs such as "1h30m15s" or "2d", using units d, h, m, and s, return the total number of seconds, rejecting malformed input such as repeated or out-of-order units and trailing numbers.
Describe a time you discovered another team was building something that overlapped heavily with your team's work, and how you resolved who would own it.
Explain how to compute the population stability index for a credit model's score distribution, implement it, interpret common thresholds, and describe what you would do when it rises.
Meta wants to estimate the share of users who have seen scam messages they did not report, but users may not answer honestly. Design a randomized response survey, derive the unbiased estimator, and quantify the variance cost relative to direct questioning.
Given transfers (id, from_entity, to_entity, day, amount), find every chain of 2 to 4 transfers that returns money to the originating entity within 7 days, with strictly increasing dates, amounts within 10% of the first transfer, and no entity visited twice.
Weekly saves across Pinterest dropped 8% week over week while daily active users are flat. Walk through how you would find the cause.
On an old T9 keypad each digit 2 to 9 maps to three or four letters. Given a digit string, return every letter string it could represent.
Given the dates of a claimant's medical visits, return every gap between consecutive distinct visits that exceeds a configurable number of days, with the start date, end date and gap length.
Describe a time you made a decision from an experiment or analysis that turned out to be premature or wrong. What happened, and how did it change how you work?
Uber is testing a smoother surge multiplier curve in several cities. List the guardrail metrics you would set and explain why each matters.
Describe a time you and another team needed the same limited resource and neither of you could decide for the other. How did you reach an agreement?
Design an ML system that reads commercial invoices and packing lists uploaded by shippers (PDFs, scans, spreadsheets) and extracts the fields a customs entry needs: seller, buyer, line items, quantities, values, currency, country of origin and suggested HS codes, with humans reviewing uncertain results.
Design how ChatGPT search answers queries like "coffee shops open now near me" by inferring the user's approximate location, fetching nearby places, and grounding the answer with map results, while respecting privacy.
Design a pipeline that collects application and request logs from hundreds of thousands of servers across Google Cloud regions and makes them queryable in BigQuery within a minute, with exactly-once rows.
A rider must pick up k orders from their restaurants and drop each at its customer, with each pickup before its drop. Given a travel-time matrix between the rider and all 2k stops, return the minimum total travel time.
Restaurants are supposed to tap Food Ready in their partner app, but many tap late, early, or not at all. How would you build a model of true preparation time using these noisy and censored signals plus rider pickup times?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.