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 store is a grid with walls (shelves), a start cell, a checkout cell and up to 10 cells holding items on the customer's list. Return the fewest moves a shopper needs to pick every item and end at checkout, or -1 if impossible.
Tell me about a time you were close to launching a machine learning model and discovered a problem that made you question whether to ship. How did you weigh the launch date against the risk?
Design the serving system that retrieves the top 1,000 candidate Reels for a user from a corpus of billions using user and item embeddings, within a 30 ms budget, while new videos enter the index continuously.
Write a function that decides whether a feature toggle is on for a given user, supporting a global kill switch, allow and deny lists, an optional user-group filter and a percentage rollout that stays stable for each user as the percentage increases.
Design the backend that takes a candidate's recorded 20 minute AI-led video interview, transcribes it, scores it against a role-specific rubric with LLMs, and makes the result available to ranking and recruiters within minutes, for tens of thousands of interviews per day.
An analysis shows that Chrome users who enable experimental features in chrome://flags have 30% higher 6-month retention. A PM wants to promote flags to everyone. How do you respond?
You are predicting which Google Cloud billing accounts will significantly reduce spend next quarter. Given daily usage per product, design features that capture trends, ratios, and volatility rather than just raw totals.
Given a table of VM lifecycle events (start and stop) with customer and instance type, write SQL that reports billed GPU hours per customer, instance type and calendar month, splitting usage that spans a month boundary.
Implement a ring buffer with a capacity fixed at construction for logging flight software events, with no allocation after startup, supporting push, pop, latest-value peek, and a choice between overwriting the oldest entry or dropping the new one when full.
A picker's task list is a string where each letter is a warehouse zone. Rearrange it so no two consecutive tasks are in the same zone and return any valid ordering, or an empty string if impossible.
Implement insert(key, value), which sets or overwrites the value for a label, and sum(prefix), which returns the total of values for all labels starting with that prefix.
Using a UPI transactions table, write SQL that reports for each payer bank how many transactions from the last 24 hours are still PENDING more than 30 minutes after creation, and what percentage of that bank's volume they represent.
Given a mapping from automated tests to the compliance controls they support and the latest result of each test, compute a status for every control: failing if any mapped test fails, needs attention if any test has no usable result, otherwise passing.
Design the pipeline that turns billions of inference and fine-tuning events into accurate per-customer usage, enforces credit limits close to real time, and produces invoices that never double-count or drop usage.
Given an ad pod of C seconds and candidate ads as (advertiser, duration, expected revenue), choose ads that fit in the pod, with at most one ad per advertiser, to maximize total revenue.
Given two sparse matrices A (m x k) and B (k x n), where most entries are zero, return their product A x B while skipping work on zero entries.
Design caching for the Google Play app details page data (title, ratings summary, screenshots, price, compatibility) so the page loads fast for billions of views while developers' updates show up within minutes.
A serving issue degraded Google Search in one region for six hours. Estimate how many searches were lost, and how many of those were truly lost versus just delayed until service recovered.
For users who started Instagram account creation in the last 30 days but never completed it, find the last screen each user viewed and rank screens by how many abandoners ended there.
Design a Kubernetes-native storage layer, in the spirit of Portworx, that pools local disks across nodes into replicated block volumes, attaches a volume to whichever node runs the pod, survives node failures without data loss, and supports snapshots and cross-cluster disaster recovery.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.