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
To limit risk, a team wants to run a Facebook Marketplace test with 10% in treatment and 90% in control. Explain how this changes the required total traffic compared with 50/50, and when it is still the right choice.
Implement a structure that records card transactions per user and answers 'total spend in the last N days' using one bucket per calendar day, so memory stays bounded no matter how many transactions arrive.
A doubly linked list of Drive items has prev, next and child pointers, where child heads another doubly linked list of items inside that folder, nested to any depth. Flatten it in place into one doubly linked list in depth-first order with all child pointers cleared.
Packets travel on a link: each has a size and a direction (positive moves right, negative moves left). When two meet head-on the smaller is dropped, equal sizes drop both; return the packets remaining after all collisions.
Your team wants to grade 10,000 generated contract summaries per week with an LLM judge instead of lawyers. Explain how you would build the human-labeled calibration set, measure judge agreement, fix systematic biases, and decide when the judge is good enough to gate releases.
The dashboard shows PayPal's card authorization approval rate fell from 92% to 89% overnight while volume stayed flat. Walk through how you would find the cause and decide whether to escalate.
Design the platform that ingests the full US options feed (OPRA) and direct exchange feeds, normalizes them, builds books, and distributes per-instrument updates to hundreds of quoting and risk processes with microsecond latency for the hot path and complete, replayable data for research.
Given a list of loan applications with an id, SSN and email, return groups of application ids that refer to the same person after normalizing SSN formatting and email aliases. Only groups with two or more applications should be returned.
Given a handle made of letters and digits, return every string obtainable by independently changing each letter to uppercase or lowercase. Digits stay as they are.
Given known exchange rates as (A, B, rate) meaning 1 A equals rate B, answer queries (X, Y) with the implied rate from X to Y, or -1.0 if it cannot be derived.
Given build job durations and k workers, assign every job to one worker so that the maximum total time any worker spends is as small as possible. Return that minimum possible maximum.
Design the ML system that fills a user's Instagram Explore grid with photos and Reels from accounts they do not follow. Cover candidate sourcing, multi-stage ranking, and how the grid layout affects what you optimize.
Instagram creators can cross-post Reels to Facebook. Define a metric for how much incremental audience cross-posting gives creators, as opposed to reaching the same people twice.
Design the system that pulls scheduled monthly payments for SoFi personal, student and home loans from members' linked bank accounts on their due dates, handles retries and holidays, and never charges a member twice for the same installment.
Given directed links between data centers with transfer costs, find the cheapest route from source to destination when you may waive the cost of exactly one link of your choice (or none).
Each page in a browse graph has a category letter, and directed links connect pages. Return the largest count of a single category along any path, or -1 if the graph has a cycle.
Design the backend for time-boxed flash deals where a fixed number of discounted units (for example 5,000) go on sale at a set time and millions of customers may try to claim them in the first few seconds.
Given a table of daily vendor prices per security, find every security and vendor whose price has been unchanged for at least five consecutive pricing days up to and including its most recent price.
Tickets arrive in time order with a handling duration. With k agents, each ticket goes to the free agent with the lowest ID; if none is free it waits in a FIFO queue. Return each ticket's assigned agent and start time.
Design a system that sends tens of millions of members a personalized daily or weekly digest email of top posts from their neighborhood, respecting each member's frequency settings, time zone and unsubscribe status.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.