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
A gossip token starts at server 0 on a ring of n servers and does a random walk, moving to each neighbor with probability 1/2 at every step. Which server is most likely to be the last one the token reaches?
A backbone has n routers and undirected links with latencies (parallel links allowed). Each query (p, q, limit) asks whether p can reach q using only links whose latency is strictly below limit. Answer all queries.
Find active Meta ad accounts that share any payment instrument fingerprint with an account banned for policy violations in the last 90 days, and return each risky account once with the number of banned accounts it is linked to.
Design a leaderboard with `add_score(seller_id, delta)`, `top(k)` returning the sum of the k highest totals, and `reset(seller_id)` that sets a seller's total back to zero.
Tell me about a time you improved how your team reviewed work as it grew quickly. What did you change, and how did you bring people along?
Given a binary tree of employee IDs, return the size of the largest subtree (a node and all its descendants) that is a valid BST.
Design the scheduler that places distributed training jobs needing hundreds of GPUs onto a shared cluster, ensuring all-or-nothing (gang) placement, InfiniBand topology locality, tenant quotas, and fair sharing between reserved and on-demand capacity.
A fulfillment center floor plan is a grid where "." is open and "#" is occupied by racks; return the side length of the largest square region made entirely of open cells.
Implement encoding and decoding of unsigned LEB128 variable-length integers, decoding a buffer that holds several varints back to back and rejecting truncated or overlong input.
Design a storage and caching layer that holds billions of users and the friend, follow, and block relationships between them, serving very high read rates for queries like 'list my friends' and 'are A and B friends'.
Given customers(customer_id, signup_at) and pix_transfers(transfer_id, customer_id, created_at, status), return for each signup week the number of new customers and the percentage whose first completed Pix transfer happened within 7 days of signup.
You own AI agents inside a dealer management platform's CRM. Leadership wants agents that act on behalf of salespeople and BDC staff. Choose which three agent workflows to build first, how you would decide, and how you would measure success.
Design the system that pulls every finished encounter from a customer's EHR, runs automated chart review before the claim is released, puts findings in front of coders, and releases or holds claims so that billing is not delayed.
Given a list of non-negative 31-bit integers representing hashed user IDs, return the maximum value of a XOR b over all pairs in the list.
Given a string from a request log, return "IPv4", "IPv6", or "Neither", supporting dotted-quad IPv4 without leading zeros and full IPv6 syntax including a single :: compression and an embedded IPv4 tail such as ::ffff:192.168.1.1.
Given Instagram Live broadcasts with start and end times and a table of their comments, produce comment counts per broadcast in 15-minute buckets covering the whole broadcast, including buckets with zero comments. Comments outside a broadcast's window are dropped.
Given two app version strings like 412.0.1 and 412.0.1.0, return -1, 0, or 1 depending on whether the first is older, equal, or newer, treating missing trailing components as zero and ignoring leading zeros.
Given a map from each sObject to the objects its triggers or record-triggered flows update, and a starting object, return one cycle of objects reachable from the start (as a path that begins and ends on the same object), or an empty list if saving the start record cannot cause recursion.
Tell me about a time you saw a warning sign during a staged rollout, decided to proceed anyway, and the release caused user-facing impact. What did you learn about your own judgment under schedule pressure?
Advertisers can convert ad credits between currencies at given directed rates. Determine whether some sequence of conversions starting and ending in the same currency yields more than you started with.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.