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 title is split into segments of known size (kilobits) that each play for a fixed duration after a startup delay, and the player buffer holds at most C segments. Downloads are sequential at a constant bandwidth, and a segment may only start downloading when a buffer slot is free. Find the smallest integer bandwidth in kbps that never rebuffers.
Design search across a single user's ChatGPT conversation history that returns relevant conversations for keyword and natural-language queries within a few hundred milliseconds, while respecting deletions immediately.
Describe a time you mentored someone who worked in a different location and time zone. What did you change about your approach to make it work?
Design the component of a web crawler that decides which URLs to fetch next and how often to recrawl each one, so a search engine's index stays fresh for pages that change while respecting each website's capacity.
Given time-sorted pings of (timestamp seconds, speed mph, posted limit mph), return each interval where the vehicle stayed more than a tolerance over the limit for at least a minimum duration, along with the peak amount over, splitting intervals when pings are too far apart.
Hosts choose whether to turn on Instant Book, and listings with it get more bookings. Leadership wants to know how much turning it on actually causes, to decide how hard to push hosts, but a randomized test that forces the setting on hosts is not acceptable. How do you estimate the causal effect?
Before publishing benchmark results for a new language model, explain how you would check whether test examples leaked into pretraining data and how you would report scores if some did.
A tracing library logs BEGIN when a span opens and END when the most recent open span closes, and n spans are recorded in one thread. How many distinct valid BEGIN and END sequences are there for n spans, and what is the count for n = 4?
Servers form a binary tree with n nodes and n tokens spread across them. One move shifts one token along an edge. Return the minimum moves so every server holds exactly one token.
Given a user's transaction timestamps as UTC epoch seconds (unsorted, possibly several per day), return the longest run of consecutive IST calendar days with at least one payment.
Tell me about a time your project depended on another team that had different priorities. How did you get it delivered?
Using pandas, convert irregular kW readings from many devices into a regular 15-minute series per device, forward-filling short gaps of up to two intervals and labeling each row as measured, filled or missing.
A teammate's model to predict whether a user will join a suggested Facebook Group shows 0.99 AUC on training data and 0.71 on test. Explain what this indicates and the first steps you would take.
Given players waiting in a ranked queue with a rating and an enqueue time, form as many 5v5 matches as possible where every player is within a rating tolerance of the longest-waiting anchor, with tolerance growing with wait time; split each match into two balanced teams.
Attach quarterly earnings to a daily price table so that every row only sees the latest earnings figure that had been published at least one day earlier, including restatements of the same quarter.
Tell me about a time a single customer report led you to dig much deeper than expected. What did you find, and what did it change?
WhatsApp wants a reliability metric for whether messages reach recipients quickly. Define the metric using client and server signals, given that content is end-to-end encrypted and recipients may be offline.
A jar holds 100 coins: 99 fair and 1 with heads on both sides. You draw one at random, flip it 5 times, and see 5 heads. What is the probability it is the two-headed coin, and what is the probability the next flip is heads?
Design the ledger that records customer wallet and gift card balances on Flipkart, supporting credits from refunds and cashback, debits at checkout, and an auditable history, with strict correctness under retries.
Closed sales stream in by day as (zip, day, price). Support record_sale and median(zip, today), where the median covers only sales in that ZIP from the last 90 days, with both operations in logarithmic amortized time.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.