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
Advertisers bid for exclusive time ranges [start, end) on a premium Yahoo homepage placement, each with a price. Choose a set of non-overlapping bids that maximizes total revenue and return both the revenue and the chosen bids.
A data scientist validated a weekly demand forecasting model for Amazon retail with random k-fold cross-validation and got excellent scores that did not hold in production. Explain what went wrong and design a correct backtesting scheme.
Design the client and server pieces that keep a user's desktop folder and their Box cloud folders in sync in both directions, including offline edits, renames and moves, and conflicting changes from collaborators.
Tell me about a time you deliberately developed someone on your team into the owner of an important system or area. How did you approach it?
Given a list of (ticket_id, subject) pairs from an IT helpdesk, group tickets whose subjects are the same after normalization (case, punctuation, reply prefixes such as RE: and FW:, and embedded ticket numbers like INC00123). Return only groups with two or more tickets, in order of first appearance.
Using gateway request logs and a model price table whose prices change over time, write SQL that reports each team's daily cost, request count, error rate and p95 latency, plus day-over-day cost change.
Explain speculative decoding with a small draft model and a large target model, prove the accept-and-resample rule leaves the output distribution unchanged, and estimate the speedup from the acceptance rate.
Advertisers buy Click-to-WhatsApp ads that open a chat with their business instead of a website. Define what a conversion should be for these ads, how to measure it, and how to report it to advertisers.
Design a public status page that shows the health of each AWS service in each region, updated within minutes of an incident and reachable even when the affected region is down.
Given a grid of integer stock deltas (positive or negative), count how many sub-rectangles have a sum exactly equal to a target value.
Tell me about a time a stakeholder, such as a trader or senior user, demanded a change urgently that you believed was risky or the wrong priority. How did you handle it and what happened?
Design an ML system that scores online and invoice payments for fraud in under 100 ms at authorization time, learning from chargebacks that arrive weeks later, across millions of small sellers with very different baselines.
Given deliveries as (pickup_time, dropoff_time) half-open intervals, return the maximum number of deliveries in progress at the same moment and the earliest time that peak is reached.
Regulation requires telling declined credit card applicants the principal reasons for the decision. Explain how you would derive reliable reason codes from a gradient boosted model, including the baseline choice and how you would validate the codes.
Simulate one step of Conway's Game of Life on an m x n board of 0s and 1s, framed as a toy model of friends going online when enough neighbors are active. Update the board in place.
Instagram tests a map where users can share their location with selected friends. Design the experiment's metrics so that adoption gains do not hide privacy harms or user confusion.
Each courier partner publishes overlapping and adjacent inclusive pincode ranges it can deliver to. Build a structure that merges each courier's ranges and then answers which couriers can serve a given pincode, efficiently for many lookups.
Given directed money transfers between accounts and one account flagged for fraud, return every account that received funds downstream of it within at most k hops, along with its minimum hop distance.
Write a parser that splits an absolute URL like 'https://[email protected]:8443/search/pizza?q=nyc&z=12#top' into scheme, userinfo, host, port, path, query parameters and fragment, applying default ports and percent-decoding.
Tell me about a time you disagreed with a more senior engineer about a technical design, especially one that would be hard to change later. How did you handle it and what happened?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.