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 deployments table and an incidents table linking incidents to the deployment that caused them, write SQL that reports, per team and ISO week, the number of production deployments and the change failure rate.
Given an array of numbers representing a row of Excel cells, return an array where each position holds the product of every other cell, without using division.
Design the pipeline that ingests ad impression and click events from Yahoo's demand-side platform and publisher sites, and produces near real-time campaign metrics for advertiser dashboards plus exact daily numbers for billing.
When an event breaks, queries like 'earthquake' or a celebrity's name suddenly need fresh results. Design the system that detects freshness-seeking queries in real time and adjusts ranking for them.
Given sorted, disjoint half-open deal periods [start, end) and one blackout period, return the remaining deal time after cutting the blackout out of every period.
A junior researcher reports a stock-ranking model with 52% directional accuracy; explain why rank information coefficient is a better evaluation metric, how to compute it, and what IC level is actually useful.
Trip status events are duplicated by client retries and payments can have several attempts per trip. Write a query that computes completed trips and captured revenue per city without double counting.
Design the search box suggestions that return matching titles, people and genres as a member types, across many languages and scripts, filtered to what is actually available in the member's country and profile maturity level.
Implement list pagination for a Drive-style files endpoint that returns stable results ordered by modified time while files are being created and edited, using an opaque next_page_token instead of offsets.
Given an item's daily listed price and a list of orders (order id, purchase day, price paid), compute each order's price adjustment refund: the amount paid minus the lowest listed price during the next D days, or zero if the price never dropped.
Each document has a MinHash signature split into bands, one hash per band. Two documents are candidates if they share the same hash in the same band position; return the transitive clusters of documents as sorted lists.
Tell me about a project where the requirements were genuinely ambiguous, for example because the rules or the market were still changing. How did you create enough clarity to make progress?
Sellers sometimes create duplicate detail pages for the same product with slightly different titles. Design text features from pairs of product titles that a classifier could use to decide whether two listings are the same item.
A team found that growing their review helpfulness model past the size that perfectly fits the training data made validation error go down again, contradicting the classic U-shaped bias-variance curve. Explain double descent and what it means for model sizing and regularization.
An Aetna care management team has a model predicting 30 day readmission after discharge, with ROC AUC of 0.78. Explain how you would evaluate whether it is good enough to drive nurse outreach, which can reach only the top 5% of discharges each week.
A grid has empty land (0), buildings (1) and obstacles (2). Find an empty cell reachable from every building that minimizes the total walking distance from all buildings, and return that distance or -1 if no cell works.
Implement should_serve(ts, household, campaign) that returns True and records an impression only if that household has seen fewer than the campaign's cap within the trailing window_seconds; requests arrive in timestamp order.
Implement a thread safe position keeper where fills update one account and transfers move quantity between two accounts. Use fine grained per account locks rather than one global lock, and guarantee transfers cannot deadlock.
Gboard needs a small on-device model to rank next-word suggestions, and a large server model is much more accurate. Explain how knowledge distillation transfers that quality, why soft targets act as regularization, and how you would set it up.
Design the cloud service that ingests device state events from millions of SmartThings hubs and devices (door sensors, thermostats, lights) and evaluates user automation rules, such as turning on the porch light when the door opens after sunset, with low latency.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.