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
Threads launched with a fresh product but an existing Instagram follow graph. Design the feed ranking system for Threads in its first months, including how to transfer signals from Instagram and when to rely on Threads-native data.
Tell me about a time you were the more senior person but someone less experienced was right. How did you recognize it, and what did you do?
A Facebook test adds a one-tap reshare button for treated users. Reshares appear in friends' feeds regardless of the friends' arm, and control feed engagement rises. Explain the bias and estimate the full effect on feed engagement.
Design the system that powers live chat during a YouTube Premiere with up to a million concurrent viewers, then replays those chat messages in sync when someone watches the video later.
Add durability to a key value store: each atomic multi-key commit must survive a process crash or power loss once commit returns, and recovery must ignore partially written records. Implement the log format, commit path, and recovery.
After hundreds of hyperparameter sweeps on a fixed validation set, a Facebook Feed model's validation metric keeps improving but the final A/B test shows no gain. Explain how selection on validation causes optimism and how to structure evaluation to avoid it.
Capital One Auto Navigator lets shoppers prequalify for auto financing and browse dealer inventory. A test changes the default sort of search results to favor listings with financing eligibility. Choose the primary and guardrail metrics.
Given a day's trade blotter of (account, symbol, signed quantity) rows plus starting positions, and the custodian's end-of-day holdings, return every (account, symbol) where our computed position disagrees with the custodian, sorted by account then symbol.
Implement a fixed-capacity ring buffer that stores (timestamp, frame) pairs from a dash cam, overwrites the oldest frame when full, and returns the frames from the last N seconds in order when a safety event fires, safe for one writer and concurrent readers.
Tell me about a time a peer or junior engineer was struggling to deliver, and what you did to help them succeed.
Services form a directed call graph where graph[i] lists the services that i calls. Return, in sorted order, every service from which every possible chain of calls eventually ends at a service that calls nothing.
A wall is given as rows of brick widths, every row having the same total width. Draw one vertical line from top to bottom, not along the outer edges, that crosses the fewest bricks, and return that count.
Given a time-ordered stream of authorization events (timestamp, account, approved), return every account that reaches at least `threshold` declined authorizations within any rolling window of `window` seconds, in the order they were first flagged.
During a LIVE game, a row of gift bubbles each has a value. Popping bubble i scores left * value[i] * right, where left and right are the values of its current nearest unpopped neighbors (1 if none). Return the maximum total score from popping all bubbles.
Build a structure where record(address) counts one more ride to that address and suggest(prefix) returns up to three addresses starting with prefix, ordered by ride count descending and then alphabetically.
Given tables of files, classification labels with confidence scores, and share events with optional revocation times, write SQL that returns the ten folders containing the most files that are both sensitive (PII, PHI or PCI at confidence of at least 0.8) and still have an unrevoked public link.
Design the system that records every buyer payment, fee, refund and hold for eBay sellers in a double-entry ledger and pays out each seller's available balance to their bank on a schedule.
Tell me about a time you found a security or correctness risk in a system close to launch and had to convince others to slow down or change course.
Three ants sit at the corners of a triangle. Each picks one of the two edges at random and walks along it at the same speed. What is the probability no two ants collide, and how does it generalize to n ants on an n-sided polygon?
Tell me about a time you owned a production problem that hurt customers or pros, from detection through the fix and the follow-up that kept it from happening again.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.