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
Ten portfolio managers each draw a name uniformly at random so that the assignment is a random permutation (self-draws allowed). Following who gives to whom forms closed loops. What is the expected number of loops, and how likely is it that nobody drew themselves?
Design an internal code search tool that lets engineers run regex and symbol searches over a monorepo with billions of lines of code, returning results in under a second and staying current with commits.
Parse an hours string such as "Mon-Fri 11:00-14:00, 17:00-22:00; Sat 10:00-02:00; Sun closed" and answer whether the business is open at a given day and time, correctly handling day ranges, split shifts, and hours that run past midnight.
Describe a time you convinced your manager or leadership to invest in reducing technical debt instead of building new features. How did you make the case?
Implement a server-side idempotency layer for a payment charge RPC so that client retries after timeouts never double charge, and a reused key with a different payload is rejected.
Tell me about a project you delivered that depended on teams in several time zones. How did you keep it moving when there was little overlap in working hours?
Using orders (order_id, customer_id, order_ts) and order_items (order_id, asin, product_group), compute the share of customers who bought an accessory (KINDLE_ACCESSORY) within 14 days of their first Kindle device purchase, counting accessories in the same order.
Given a grid of letters from a promotional menu board and a list of dish names, return all dish names that can be traced by moving up, down, left or right through adjacent cells without reusing a cell in the same word.
Given a list of sticker tags, build the shortest reference string made of tags each followed by '#' such that every tag appears as a substring that ends right before some '#'. Return only its length.
Design a scheduler for a shared cluster of thousands of 8-GPU nodes that places distributed training jobs needing many GPUs at once, respecting NVLink and network topology, team quotas, priorities and preemption.
Give an example of a problem you noticed that was not your responsibility, but you fixed it anyway. Why did you take it on?
You are training a model to predict whether a user installs an app shown on the Play Store home page. Compare using impressed-but-not-installed apps, random unshown apps, and hard negatives as negative examples, and explain how each choice shapes what the model learns.
A freight container must be filled exactly with standard box volumes from a given list, with unlimited boxes of each size. Return the fewest boxes needed, or -1 if the exact volume cannot be reached.
Given a DataFrame of Google Assistant queries with user, device and timestamp, assign session IDs where a session ends after 30 minutes of inactivity or when the user switches devices, then summarize each session.
Design a SparseVector class that stores only non-zero entries of a very long vector and computes the dot product with another SparseVector efficiently.
Design how a CDN with hundreds of edge locations accepts invalidation requests from customers and guarantees that matching objects stop being served everywhere within a bounded time.
Design the system that, once payroll is submitted, debits the employer's bank account, credits every employee's account by the pay date through ACH, and correctly handles returns, risk holds and reconciliation.
Design an ML system that flags toxic messages in League of Legends and VALORANT text chat in near real time, feeds player behavior penalties, and keeps false penalties low across many languages.
An LLM returns findings with supporting quotes from a clinical note, but the quotes differ from the source in casing and whitespace. Write a function that maps each quote back to the start and end character offsets in the original note, or reports it as not found.
As a manager, describe a time your team failed to deliver something another team was depending on. How did you handle it with them and with your team?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.