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 supplier's forecast error for one settlement period is normal with mean 0 and standard deviation 20 MWh; being short costs 30 pounds per MWh over the contract price and being long costs 10 pounds per MWh. Compute the expected imbalance cost of hedging the forecast exactly, then find the cost-minimising hedge and its expected cost.
Design the routing service that computes driving directions and arrival time estimates using live and historical traffic, answering millions of route requests per minute at continental scale.
Given a table of authorisation attempts, write a SQL query that returns the authorisation rate for each issuer country and payment method over one week, excluding technical errors and merchant retries, ordered from worst to best.
Tell me about a time you needed several teams that did not report to you to change how they worked. How did you get them on board?
A contract pays the product of two fair dice. First quote a market with no information. Then suppose your counterparty secretly sees one die before trading: compute your expected loss per trade at your quote and explain how you would requote.
Daily net revenue for a seller can be negative because of refunds. Given the daily values and a target K > 0, return the length of the shortest contiguous run of days whose total is at least K, or -1 if none exists.
You are the PM for connectors. Sales asks for a niche ticketing tool that two large prospects use, engineering wants to rebuild the flaky Salesforce connector, and usage data shows heavy interest in meeting transcripts. How do you decide what to build next quarter?
Design the quota system for Amazon's Selling Partner API where each seller application gets per-operation rate limits defined by a restore rate and a burst, and limits can scale with the seller's business size.
Design a feature in Ads Manager that suggests headline and primary text variations generated by an LLM from the advertiser's product page and existing ad. Keep the design focused on generation quality, policy safety and measuring impact.
Design the system that sends TikTok push notifications about activity such as new followers, comments, likes and mentions, while avoiding notification spam.
Write a helper that calls a flaky downstream tool (such as an order API) and retries transient failures with capped exponential backoff and full jitter, while staying deterministic in unit tests.
Given a binary tree of drivers linked by a support hierarchy, a target node, and an integer k, return the values of all nodes exactly k edges away from the target, moving up or down the tree.
Leadership asks how much Meta's standard user-level A/B tests are biased by network interference for social features. Design a meta-experiment that runs user-level and cluster-level randomization in parallel to estimate that bias.
The Capital One Shopping team has capacity for one major project next quarter: price tracking alerts, a mobile app version of the extension, or deeper Capital One card integration at checkout. Decide which to build first and how you would know you were right.
Design the system that indexes millions of apps across 175 storefronts and serves ranked search results for App Store queries with low latency and fresh metadata.
Given equations like A / B = k between currency codes and a list of queries X / Y, return each query's value derived from the known ratios, or -1.0 if it cannot be determined.
Process a stream of trades (symbol, quantity) and support a query at any time for the k symbols with the highest cumulative traded volume.
Convert an English number phrase from a speech transcript, such as "two hundred thirty-four thousand five hundred and six" or "minus forty two", into an integer, supporting hundred, thousand, million, and billion, and rejecting phrases with misplaced scale words.
Design the Document Understanding pipeline that classifies incoming documents, extracts invoice fields with ML models, and decides per field or per document whether the result can flow straight to the ERP or must go to a human validator in Action Center. Include how validator corrections improve the models.
Given a directed follow graph as adjacency lists (who each user follows) and two user IDs, return the minimum number of follow hops from the source to the target, or -1 if unreachable. The graph is huge, so explain how you keep the search small.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.