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
Design an undo and redo system for CapCut's web timeline editor that supports operations like inserting and trimming clips, with a bounded history and correct behavior when a new edit follows an undo.
Process a time-ordered stream of (timestamp, user, file) access events and emit an alert the first time a user touches more than T distinct files within any trailing window of W seconds, re-arming only after their distinct count drops back to T or below.
A wafer has 1,000 rows of 1,000 cores and each core is independently defective with probability 0.002; a row works if it has enough good cores to supply its logical width. How many spare cores per row are needed for at least 99.9% of wafers to be fully usable?
A pilot of a BCG X built personalized promotions engine for a supermarket client showed a 2.1% sales lift in 40 test stores versus 40 control stores. Decide whether to recommend national rollout.
Given a time-ordered list of (timestamp_seconds, speed_mph) samples and a speed limit, return every interval where the truck stayed strictly above the limit for at least min_duration seconds, as (first_over_ts, last_over_ts) pairs.
A Meta team of 10 is paired up for weekly coffee chats, and next week everyone is re-paired uniformly at random. What is the expected number of pairs that repeat, and what is the probability no pair repeats?
An Instagram feed change showed a 3 percent lift in posts viewed at a 1 percent rollout, 1.5 percent at 10 percent, and nearly zero at 50 percent. Give the most likely explanations and how you would tell them apart.
Tell me about a time you mentored a newer engineer. How did you help them become productive, and how did you know it was working?
Given the original and revised text of a contract clause, compute a minimal word-level redline as a sequence of equal, delete and insert runs, and render it in a simple markup.
Design the backend of a corporate and public learning platform that tracks video, quiz and lab progress for millions of learners, shows dashboards to managers, and issues certificates when completion rules are met.
Given a sequence of domain visits as a string of characters (one character per domain) and an integer k, return the length of the longest contiguous stretch containing at most k distinct domains.
Design the service that tracks FanCash balances for fans who earn and spend across Fanatics commerce, collectibles and sportsbook, supporting earn, spend, expiry, reversal on returns, and an accurate balance shown at checkout.
Given a directory tree serialized as text, where each line is a file or folder name and its depth is the number of leading tabs, return the length of the longest absolute path to a file (a name containing a dot), or 0 if there are no files.
Write a function that, given the IP sets currently programmed on a Linux host and the desired sets from new policy, emits an ipset restore script that updates changed sets atomically without ever leaving a rule pointing at a half-filled set, and explain why this matters for live traffic.
A daily anomaly test on each of 10,000 meters flags consumption more than z standard deviations above its expected value. With z chosen for a 1% false positive rate per test, what does an operator see, and how would you choose a threshold that keeps false alarms to about one per week fleet-wide while still catching real faults?
Given boards(board_id, owner_id) and saves(save_id, board_id, saved_at), return each creator's top three boards by number of saves during the week of 2026-11-02, with a deterministic tie-break.
Describe a time you took an experimental model, algorithm or prototype that worked in a notebook or demo and turned it into a reliable production feature, including what you cut, what broke, and how you decided it was ready.
Describe a time you pushed for a decision that was right for the end user even though it hurt a metric your team was measured on. Explain how you made the case and what happened.
A new model scores far above expectations on a popular public reasoning benchmark. Explain how you would determine whether benchmark items leaked into the pretraining corpus, how contamination affects the reported number, and what you would do about it.
In a binary tree of quarterly metric values, a node is a record node if no node on the path from the root to it has a strictly greater value. Count the record nodes.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.