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
Tell me about a time you needed several teams that did not report to you to adopt a shared tool or standard. How did you get them on board?
Two non-negative integers too large for a machine word are stored as singly linked lists of decimal digits, least significant digit first. Return their sum as a new list in the same format.
Given a binary tree of unique account IDs and a set of banned IDs, delete every banned node. Return the roots of the trees that remain.
Design the back-office system for Positive Train Control that computes and delivers each train's movement authorities, speed restrictions, and work zone bulletins to the locomotive's onboard computer, so the onboard system can enforce stops and speed limits.
Describe a time you built something far more complex than the problem needed. How did you realize it, and how has it changed your approach?
Given a list of ads tagged by advertiser, reorder them so that no two consecutive slots show the same advertiser. Return any valid order, or an empty list if none exists.
Design the upload protocol and backend that let users upload multi-gigabyte videos to Facebook from phones on unreliable mobile networks, resuming after interruptions without starting over.
Design the pipeline that collects opt-in crash logs from devices, symbolicates them with each app build's dSYM files, groups them into signatures, and shows developers crash trends in Xcode.
For Facebook users who had been inactive for at least 28 days when they were sent a re-engagement push notification, compute the share who returned within 3 days of the send, split by notification type, counting each user's first qualifying send only.
Given a stream of per-minute power readings in kW for one rack and a window size k, return the indices at which the average of the last k readings exceeds the rack's power limit.
An advertiser's purchase can arrive days after the ad click, but Meta's conversion model must be retrained daily. Explain the bias this creates and how you would train and evaluate the model correctly.
Given the current working directory and the argument to a `cd` command (absolute or relative, possibly containing `.`, `..` and repeated slashes), return the resulting normalized absolute path.
Given daily peak load readings for an Azure region, return for each day how many days you must wait until a strictly higher load appears, or 0 if it never does.
Given (patron_id, 'YYYY-MM') records of successful membership payments, possibly unsorted and with duplicates, return each patron's longest streak of consecutive paid months.
Tell me about a time you disagreed with your manager about what to work on first, and how it played out.
Design and implement the server side of a 'send crypto' endpoint so that client retries after timeouts never send funds twice, using idempotency keys, request fingerprints and clear status codes.
Design the global search typeahead at the top of LinkedIn that suggests members, companies, schools, and job titles as the user types, personalized to the searcher's network.
Given a database's full, differential and transaction log backups, return the backup sequence that restores it to a target time, or report that the time is unreachable.
Given API call logs as (org_id, start, end) half-open intervals, return each org's peak number of simultaneous calls and the earliest time that peak is reached, then list orgs whose peak exceeds a concurrency limit.
Given a list of transfers (from_account, to_account, amount), find every group of two or more accounts where money can flow from any account back to itself through the group, and return each group with the total amount moved inside it, largest first.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.