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 needed another team, which you had no authority over, to adopt a system or standard you built. How did you get them to do it?
A drone flies over a grid of terrain heights from the top-left to the bottom-right cell, moving in four directions. A route's effort is the largest absolute height change between consecutive cells; return the minimum possible effort.
Implement an LRU cache for decoded thumbnails whose limit is total bytes rather than entry count, and that can shrink on a memory-pressure warning.
A delivery station ships about 2,000 packages a day, usually 2% late, but roughly one day in ten has bad weather with 6% late. Quote a bid and ask for tomorrow's late count, then update the quote as an informed counterparty trades with you.
Given a log of (timestamp, order_id, status) events that may arrive out of order, return the ids of orders whose history violates the order lifecycle state machine or never reaches a terminal state.
Tell me about a time you discovered a risk of abuse or harm close to launch. How did you weigh delaying against shipping with mitigations, and who did you involve?
Given monthly loan snapshots with a delinquency status and balance, write pandas code that builds the month-over-month roll rate matrix (probability of moving from each status to each next status), by count or balance weighted, using only consecutive months.
A batch of Google Photos uploads is a singly linked list. Split it into k consecutive parts whose sizes differ by at most one, with larger parts first, returning k heads (some may be None).
Given a stream of order IDs arriving from an exchange gateway and an integer k, return every pair of positions (i, j) where the same ID appears at position i and again at a position j with i - j at most k.
Given parent-child edges describing an asset hierarchy (site, line, equipment) and each asset's own alert count, compute every asset's total alerts including all descendants and return the k assets with the highest totals, breaking ties by asset id.
Design the billing system for LinkedIn Premium and Sales Navigator subscriptions, supporting free trials, monthly and annual renewals, upgrades with proration, refunds, and multiple payment processors, with a ledger that finance can audit.
Each venue reports a list of half-open halt intervals [start, end) in seconds. Return the merged, sorted list of intervals during which at least k venues were halted at the same time.
Before Ramp pushes card transactions into a customer's ERP, reference data (accounts, vendors, classes) must sync first. Given jobs and before/after dependencies, return waves of jobs that can run in parallel, or report the jobs stuck in a cycle.
Given the transcode minutes for each episode in season order and a number of transcoder workers, split the episodes into at most that many contiguous batches so the longest batch is as short as possible, and return that time.
Given an ordered list of commits where the first is good and the last is bad, find the first commit that introduced a failure, when a bad commit fails the test only some of the time.
Tell me about a time you led or played a key part in migrating users or data off a legacy system onto a new platform under a fixed deadline. How did you manage risk, stakeholders and the cutover itself?
Over the past six weeks, the average time couriers wait at restaurants for food has grown from 4 to 7 minutes. Diagnose the likely causes and propose how to measure which one dominates.
Design a network of cache servers placed inside internet service providers' networks (like Google Global Cache) that serve most YouTube video bytes locally, including what content to place on each node and how users are steered to them.
Design how Google Photos moves petabytes of rarely viewed originals from hot storage to colder, cheaper tiers, while keeping thumbnails instant and old photos viewable in full resolution within a couple of seconds when requested.
An internal orders API returns pages of results plus a next cursor (None when done), and pages may be empty. Build an iterator that yields orders one at a time across pages, fetching each page only when it is needed.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.