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 the system that rolls out configuration and code changes across thousands of Azure clusters in many regions, progressing through rings with automated health checks so a bad change is caught and rolled back before it reaches most customers.
Given package weights and an integer k, decide whether the packages can be split into k groups whose total weights are all equal, every package used exactly once.
Given YouTube view rows with category and watch seconds, compute each user's watch time share per category, mark their top category, and flag users who spend at least 80 percent of their time in one category.
Given build targets and their declared dependencies, return one dependency cycle as an ordered list of targets (for example a -> b -> c -> a), or an empty list if the graph is acyclic.
Suggestions were computed against an older snapshot of a document as (start, end, replacement) spans. Given the sequence of edits the user has made since then, each as (pos, delete_len, insert_text), return the suggestions that are still valid with offsets correct for the current text, dropping any whose flagged text was touched.
Tell me about a time a production issue affected customer money or data. Walk through how you found it, how you contained it, how you made affected customers whole, and what changed afterward.
Write a parser that receives arbitrary byte-boundary chunks of an OpenAI-compatible server-sent events stream and returns the text deltas as soon as each event is complete. It must handle comments, keep-alives, multi-line data fields and the terminating [DONE] marker.
A robot at the origin facing north repeats a command string of G (move forward one step), L (turn left) and R (turn right) forever; return whether it stays within some bounded circle.
Meta Verified subscription prices differ by country and platform (web versus app store), and the team wants to know how a price change would affect subscriptions. Randomized price tests are off the table. Estimate price elasticity from existing data.
Given container words and query words, for each query return the index of the container word sharing the longest common suffix with it, breaking ties by shortest length and then smallest index.
Tell me about a time you needed to escalate a blocker owned by another team, and how you decided when and how to do it.
An agreement workflow has steps (legal review, finance approval, signer actions) with expected durations in hours and dependency edges between them. Compute the earliest time the whole workflow can finish if independent steps run in parallel, return one critical path, and report an error if the dependencies contain a cycle.
Tell me about a time you were handed a broad, emotionally charged problem, such as user harm or well-being, and turned it into a measurable, prioritized plan.
Given a creator's daily follower totals, return for each day how many days later the total is first strictly higher, or 0 if it never is.
A test turning sound on by default for Reels in the Facebook app raises watch time per user 3%, but survey responses saying Reels is 'annoying' rise from 8% to 11%. Should it launch?
You observe 1,000 personal loans for different lengths of time: 40 defaulted, the rest are still current or were paid off, and total observed exposure is 18,500 loan-months. Assuming a constant default hazard, find the maximum likelihood estimate, its standard error, and the implied 12-month default probability.
Permission masks are integers whose set bits are enabled permissions. For every mask value from 0 to n inclusive, return how many permissions it enables, in O(n) total time.
Implement a scheduler that queues inference requests per organization, each with a token cost, and dequeues them so that over time each organization receives throughput proportional to its weight, using deficit round robin.
Messenger logs foreground, background and in-app action events. Define a session that continues if the user returns within five minutes of backgrounding the app, and ends otherwise; return each user's sessions as start and end times.
Tell me about a time you needed several teams that did not report to you to adopt something you built. How did you get them to do 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.