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
There are n couriers and n orders (n up to 12) and a matrix ok[i][j] saying whether courier i is close enough to take order j. Count the ways to assign every courier exactly one distinct order using only allowed pairs.
Describe a time a client or senior stakeholder insisted on a requirement you believed would hurt the project, how you handled the disagreement, and what happened.
Design the pipeline that generates speech captions for every Reel after upload, in the spoken language, available to viewers soon after publishing and editable by the creator.
Describe a time you delayed or blocked a release because you believed it could move money incorrectly or break a correctness guarantee, even though others wanted to ship.
Describe a time you led or joined a delivery where the onsite team near the client and the offshore team disagreed constantly about priorities and quality, and deliveries were slipping. What did you change?
Given a list of prices and a window k, return every index i (with i >= k) where the price is strictly greater than the maximum of the previous k prices, in O(n) time.
A binary search tree indexes trip start times, but a bad migration swapped the values of exactly two nodes. Restore the BST in place without changing its shape.
Each day for k days, pick the storage bucket holding the most objects and shrink it to the floor of the square root of its size. Return the total number of objects left across all buckets.
Describe a time writing a press release and FAQ, or a similar working-backwards document, changed the scope or direction of what your team planned to build.
Product wants to test showing taller image previews for Pins in the home feed, which means fewer Pins per screen but richer visuals. Design the A/B test: unit, metrics, guardrails, duration and sample size.
Friends record who paid for whom during a trip as a list of (payer, beneficiary, amount) entries. Compute the minimum number of person-to-person UPI transfers needed to settle every balance to zero.
Given a caption string, partition it into substrings that are each palindromes. Return the minimum number of cuts needed.
Each Microsoft Learn module has a duration and a deadline, you study one module at a time starting at time 0, and a module counts only if it finishes by its deadline. Return the maximum number of modules you can complete.
Using a table of DashPass billing charges, build a cohort table showing, for each month of first paid charge, the share of subscribers who paid again in each of the following six months.
A team has a new code completion model for GitHub Copilot. Describe how you would evaluate it before and after launch, which metrics you would trust, and how you would decide whether to ship it.
TikTok wants an LLM feature that suggests captions and hashtags for creators' videos. Compare prompting a general model, retrieval augmentation and fine-tuning, and recommend an approach.
Given a list of banned phrases, build a checker whose `query(ch)` is called once per incoming character of a chat stream and returns True if any banned phrase ends exactly at that character.
Given a time-ordered list of fills (symbol, signed quantity, price) and end-of-day mark prices, compute each symbol's position, realized PnL using FIFO lot matching, and unrealized PnL against the mark.
Given a list of per-frame times in milliseconds captured from a game build, return the p50, p95 and p99 frame times using the nearest-rank method, the worst frame, and how many frames exceeded a target budget such as 16.67 ms.
Tell me about a time a system you owned caused a customer-visible or compliance-sensitive mistake, such as messages sent at the wrong time, and walk through how you handled the incident and what you changed afterward.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.