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
Describe a time you influenced what your team built, not just how, even though product decisions were owned by your PM and leads.
YouTube is testing a new pause-screen ad format. Advertisers in the treatment group can buy it, while the existing in-stream inventory is shared by all advertisers. Explain how sharing inventory and budgets can bias the experiment, and design a cleaner test.
Given two app version strings such as "8.3.0-beta.2" and "8.3.0", return -1, 0 or 1 depending on which is older, using numeric core comparison and semantic-version rules for prerelease tags.
Implement a thread-safe transfer(src, dst, amount) for an in-memory account store so that concurrent transfers in opposite directions never deadlock, balances never go negative, and a total-balance audit always sees a consistent snapshot.
A cash on delivery order is refused at the doorstep with probability 12%, and each refusal costs forward shipping of 45 rupees plus reverse shipping of 40 rupees, while a delivered order earns 30 rupees of contribution. Compute the expected contribution per 1,000 COD orders and the refusal rate at which COD breaks even, then explain how a 20 rupee prepaid discount changes the decision.
Tell me about a time you disagreed with a senior stakeholder, such as a portfolio manager, who wanted a change shipped faster than you thought was safe. How did you handle it and what happened?
Design a retrieval-augmented assistant that answers tax professionals' questions across many countries' legislation, rulings and internal firm guidance, with citations, awareness of effective dates and strict separation of client-confidential documents.
Given a pandas DataFrame of pipeline events (tenant_id, message_id, event_type in delivered, scored, remediated, ts) where retries can log a stage more than once, compute per tenant the count, p50, p95 and max seconds from delivery to remediation, sorted by worst p95.
A Fitbit sleep stage classifier uses heart rate and motion features per 30 second window, but heart rate is missing in some windows when the band is loose. Explain how you would handle the missing values and why the reason they are missing matters.
Build an in-memory component that wraps a payment handler so a request retried with the same merchant and idempotency key returns the original response instead of charging twice, while a reused key with a different body is rejected.
Describe a time you shipped a change where a mistake would be costly or slow to undo, such as code running on customer devices, and how you managed the risk.
Sortation centers lie in a line, and from center i a package can be forwarded to any center up to reach[i] positions ahead. Starting at center 0, return the minimum number of forwards needed to reach the last center, assuming it is reachable.
Exchanges publish the same sequenced packets on two multicast lines. Write an arbiter that delivers each sequence number exactly once and in order, drops duplicates from the slower line, buffers out-of-order packets, and declares a gap for recovery when a hole cannot be filled within a buffer limit.
A timeline holds clips with given lengths in order. You may only merge two adjacent clips at a time, and each merge costs the combined length of the two clips. Return the minimum total cost to merge all clips into one.
Given a list of lowercase search queries typed into the Amazon search bar, group together the queries that are anagrams of each other (same letters, same counts). Return the groups in any order.
From dispenses (store_id, drug_name, quantity, dispensed_at) and stores (store_id, state), return the top three drugs by total quantity dispensed in each state for 2026, keeping ties.
Given a list of words and a line width, greedily pack words into lines and pad each line with spaces so it is exactly the width, distributing extra spaces left first, with the last line and single-word lines left aligned.
A data center tech has a bin of spare disks with sizes that may repeat, and each physical disk can be used once. Return every distinct set of disk sizes whose total equals the requested capacity.
Given a set of currencies and directional FX quotes (units of B per unit of A), determine whether some cycle of conversions starting and ending in the same currency yields more than you started with, and return one such cycle.
Describe a time when direct customer feedback or data about a specific user group made you change what you or your team were building, and what happened as a result.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.