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 an online application and eligibility system for a state benefits program (such as unemployment insurance or Medicaid) that normally sees modest traffic but must handle a 20x surge after a policy change, while integrating with slow legacy systems of record.
Given viewer sessions on Facebook Live as (stream_id, viewer_id, join_ts, leave_ts), return each stream's peak number of simultaneous viewers and the first time that peak was reached.
Many Platinum Secured cardholders are trying to rebuild their credit and graduate to an unsecured card. Propose product improvements to the Capital One app for this group and say how you would pick and measure the first one.
Meta Pay retries charge requests with the same idempotency key, producing several rows with statuses like pending, failed, and succeeded. Produce one row per idempotency key with its final status and compute daily successful charge volume without double counting.
Match internal ledger entries to bank statement lines with the same amount whose dates differ by at most k days, maximizing the number of matches, and report what is left unmatched on each side.
At signup, Threads offers to follow everyone you follow on Instagram. Design a way to measure how much this import improves early retention, and explain how the import affects people other than the new user.
Tell me about a time someone on your team wanted to move toward a different kind of role. How did you support them, even if it meant losing them?
Implement a rate limiter for an LLM inference API where each API key has a token bucket with a capacity and a refill rate, and each request costs a variable amount (for example its estimated tokens). Return whether each request is admitted at a given timestamp.
A square board numbers its cells 1 to n*n in a back-and-forth pattern starting from the bottom-left, and some cells jump you to another cell. Each spin moves you forward 1 to 6 cells; return the minimum spins to reach the last cell, or -1.
Given a pandas DataFrame of orders (order_date, category, revenue, status), build a report with one row per month in a requested range and one column per category, excluding cancelled orders, filling empty cells with zero, and adding total row and column.
Given a send amount in minor units, a mid-market rate, a percentage fee and a fixed fee, compute the fee, the amount converted and the amount the recipient gets, rounding correctly for currencies with 0, 2 or 3 decimal places (JPY, GBP, BHD).
Given a DataFrame of daily step counts and step goals for Google Fit users, return each user's longest run of consecutive calendar days meeting their goal, with start and end dates.
Given an array of positive build durations in minutes from an Azure Pipelines agent and a target T, return the length of the shortest contiguous run of builds whose total duration is at least T, or 0 if none exists.
Design the system that accrues interest daily on millions of high-yield savings balances at a variable APY, pays it out monthly, and stays correct when rates change mid-month, balances are backdated, and the batch job fails partway.
Given a DataFrame of Xbox sign-in events (user_id, timestamp), compute distinct active users per hour with missing hours filled as zero, compare each hour to the mean of the previous 24 hours, and flag hours that fall below half of that baseline.
Describe a time you convinced engineers on another team to add a constraint to their workflow that would slow them down in the short term.
Design an ML system that scores every contact center conversation against a customer's QA scorecard (for example, verified identity, offered resolution, showed empathy) so supervisors no longer manually review a 2% sample.
Design an internal cron service that lets thousands of Meta engineering teams register recurring jobs (every minute to monthly) and guarantees each scheduled occurrence runs once, even when scheduler hosts fail.
A Bing Ads relevance model was trained months ago and performance seems to be slipping. Explain how to detect input and prediction drift before labels show the drop, and implement the population stability index for a numeric feature.
Given a list of non-negative per-interval power readings from a GPU and a budget B, find the length and start index of the longest contiguous stretch whose total energy is at most B.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.