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 list of license checkout intervals [start, end) from a network license server, return the maximum number of seats in use at once and the merged time windows during which that peak is held.
Describe a time a mistake you made reached production and affected people who depended on your work. What happened, how did you handle it, and what changed afterward?
Design the ML system that ranks Marketplace listings for a text query, accounting for relevance, distance, price, listing quality, and the chance the buyer actually messages the seller.
Given the root of a binary tree, return the number of nodes on the shortest path from the root down to any leaf, where a leaf has no children.
Design a coordination service that Meta's background job owners use to elect a single active leader for a shard of work, with leases, fencing tokens, and fast failover when the leader dies.
Two dashboards report Reels engagement differently: one shows average time per session, the other average time per user per day. A ranking test raised one and lowered the other. Explain which to trust and why.
Two Facebook search rankers are evaluated on the same 500 sampled queries, each producing a per-query NDCG. Explain why a paired test is right here, run it, and contrast it with an unpaired comparison.
Implement a thread-safe transfer(src, dst, amount) on an in-memory ledger where many threads move money between accounts concurrently, guaranteeing no deadlock, no negative balances and conservation of the total.
Design the system that ingests live game events from data providers and pushes score and play-by-play updates to millions of ESPN app users and web clients within a couple of seconds, including during the busiest sports nights.
Given n players and a list of rival pairs, assign each player to team 0 or team 1 so that no rival pair is on the same team, or return None if that is impossible.
For each card transaction, compute the customer's average transaction amount over the previous 30 days (excluding the current one) and flag transactions more than three times that average, requiring at least five prior transactions.
Given two ascending lists of slot prices (Feed and Stories), return the k pairs (one from each list) with the smallest combined price.
Given eligibility records as (member_id, start_date, end_date) with inclusive dates, return for each member the minimal list of continuous coverage periods, merging spans that overlap or that start the day after another ends.
You need to predict which Google Workspace business customers will churn next quarter from about 200 tabular features on 80k accounts. Compare gradient boosted trees and a deep neural network and justify your choice.
For an Instagram Stories ranking test, the team must choose a primary metric among total time in Stories, a capped version, log time, and the share of users who watch any Story. Explain how you would compare their sensitivity and choose.
Tell me about a time a senior leader gave you a vague, one-sentence request and you had to turn it into a concrete, executed plan.
Given a day's interview bookings as (interviewer, start, end) with end exclusive, return for each interviewer every pair of bookings that overlap, so the scheduling team can fix them before candidates join.
Edges between stops depart periodically: each edge (u, v, first, period, duration) leaves u at times first, first + period, and so on, and arrives duration later; starting at stop s at time t0, return the earliest arrival time at stop d, or -1.
Tell me about a time two teams, including yours, disagreed about who should change an interface between services, and how you resolved it.
Roblox wants one primary metric to judge changes to experience recommendations on the Home page. Propose the metric, its exact definition, and the guardrails you would pair with it.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.