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 Google Docs undo buffer records n push and n pop operations. Count how many operation logs are valid (never pop an empty stack and end empty), and find the probability that a uniformly random arrangement of the n pushes and n pops is valid.
Write `is_valid_number(s)` that accepts decimal literals such as `19.99`, `-0.5`, `.5`, `3.`, `2e10`, and `+6.02E-3`, and rejects strings like `e9`, `1e`, `.`, `--5`, or `4e3.5`, without using float() or regular expressions.
Design the ephemeral signals in Microsoft Teams 1:1 and group chats that show who is typing and who has seen each message, for chats of up to a few hundred people.
Design a retrieval-augmented LLM assistant inside Seller Center that answers sellers' questions about listing rules, prohibited products, fees and violation appeals, grounded in current policy documents and the seller's own account status.
Write two functions: one converts an Excel column label such as "AB" to its 1-based column number, and the other converts a column number back to its label.
Implement a client-side circuit breaker for calls to a backend: in CLOSED it counts consecutive failures and trips to OPEN after a threshold; in OPEN it rejects calls until a cooldown passes, then moves to HALF_OPEN, where one trial call decides between CLOSED and OPEN. Given a timeline of call attempts and their backend outcomes, return what the breaker does with each.
Tell me about a time you declined or deferred a request from someone more senior than you. How did you do it while keeping the relationship strong?
Meta offers EU users a paid subscription to use Facebook and Instagram without ads, alongside a free ad-supported option. Estimate how many users might subscribe and what it means for revenue, before and after a price cut.
WhatsApp wants to test a quick-reply bar under Status updates. Decide whether to randomize by device, by account, or by conversation, and justify the choice.
You own Crusoe Managed Inference pricing. How would you decide the price and terms of a provisioned throughput tier relative to pay-per-token, and how would you know it is working?
A draft model proposes k tokens that the target model verifies in one forward pass, each accepted independently with probability alpha until the first rejection. Derive the expected tokens per verification step and choose k to maximize speedup given the draft's relative cost.
Design a system that continuously monitors GPU servers for hardware faults (ECC errors, NVLink failures, thermal throttling, silent slowness), drains bad nodes from training and inference, and routes them to repair.
Overall suggestion acceptance rate fell from 21% to 18% over one week with no announced launch. Walk through how you would find out whether this is a real change in user behavior, a mix shift, or a data problem, and what you would report.
Operators ask whether the AI leasing assistant should be allowed to offer concessions (for example, a free month or waived fees) during conversations to close hesitant prospects. As the PM, decide whether and how to build this.
Given a time-ordered stream of (timestamp, participant, audio level) samples, emit the moments the active speaker changes, using the average level over the last W milliseconds and switching only when a challenger beats the current speaker by a margin.
Given a list of files as (path, size, content) tuples from a OneDrive folder scan, return groups of paths whose contents are identical, including only groups with at least two files.
You built a model that predicts next-day returns for 500 stocks. Explain why R-squared and accuracy are poor yardsticks here, then define and compute the daily rank information coefficient and say what values would be meaningful.
Alexa uses a large language model to answer open-ended spoken questions. Design the serving system so that the first spoken words begin within about a second, at peak evening traffic, at an acceptable cost per request.
Meta Verified for businesses offers a verified badge, impersonation protection and better support for a monthly fee. Build a go-to-market plan to get small businesses on Facebook and Instagram to subscribe in the first year.
Food for an order becomes ready at a time uniformly distributed between 0 and 20 minutes after acceptance, and the rider is scheduled to reach the restaurant at minute 12. Find the expected rider wait and expected time food sits waiting, then the arrival time that minimizes a weighted cost when rider minutes cost three times food minutes.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.