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
Given a map from migration name to the migrations it depends on, return a deterministic order in which to apply them, or raise an error naming one concrete dependency cycle if no valid order exists.
Given a time "HH:MM" in 24-hour format, return the next time (wrapping past midnight if needed) that can be formed using only the digits already present, each digit reusable any number of times.
Design a public recursive DNS resolver service (like 8.8.8.8) that answers billions of queries per day with low latency from anycast locations worldwide, caching records correctly and resisting spoofing and amplification abuse.
Using a card payments table, compute the number of days between each customer's consecutive payments and flag customers whose most recent gap is more than double their own median gap and longer than 40 days.
Rank Reels audio tracks by weekly uses within each week, then find the ten tracks with the largest rank improvement versus the immediately preceding week. Tracks absent from the previous week's chart are not climbers.
Watch events are stored run-length encoded as [count, value, count, value, ...]. Implement next(n), which consumes n events and returns the last one consumed, or -1 if fewer than n remain.
Design the system that lets any ChatGPT user request a full export of their data or permanent account deletion, and guarantees completion across every service that holds their data within a fixed deadline.
As a manager or tech lead, tell me about a time you made a significant decision for your team without consulting them, and it damaged trust or led to a worse outcome. How did you repair it and how do you make decisions now?
Given the citation counts of a researcher's papers, return their h-index: the largest h such that at least h papers have at least h citations each.
Given an n by n Snakes and Ladders board numbered boustrophedon style from the bottom-left, where some squares send you to another square, return the minimum number of six-sided die rolls to reach the last square, or -1.
Prime Video introduced limited ads for members on the default tier. Design a way to measure the long-term effect of ad load on viewing and retention, not just the first few weeks.
Design the pipeline that ingests hundreds of thousands of new articles per hour from publishers and creators into Toutiao, cleans and enriches them, detects near-duplicate and rewritten content, and makes them available to recommendation within minutes.
A product debate: some users want Replit Agent to start building immediately from a short prompt, while others get the wrong app and waste credits. Decide when the Agent should ask clarifying questions first, and how you would measure whether your policy works.
Describe a time you needed a group you had no authority over, such as store pharmacists or another engineering team, to change how they worked. How did you persuade them?
Each zone of a store has a backlog of items to pick. A picker spends whole hours on one zone at a time, picking at a fixed rate per hour. Return the smallest integer rate that clears every zone within the given number of hours before the delivery cutoff.
Meta Verified is testing a seven-day versus a thirty-day free trial for new subscribers. Two weeks in, the seven-day arm has more paid conversions. How should the test be analyzed and when can you decide?
A model scores each trip for safety risk and flagged trips are reviewed by a safety team that can handle 2,000 reviews a day. How would you choose the threshold and explain the precision and recall trade-off to stakeholders?
A Facebook Groups feed ranking change increases comments per user by 3% but also increases misinformation reports per user by 7%. Explain how you would evaluate the trade-off and what guardrails should block a launch.
Using a posts table with author, timestamp, reply target and repost flag, write a query that returns for each day the number of original posts, distinct posters, replies, and the share of posts that are replies, excluding reposts and suspended authors.
A PM shares a Facebook Stories experiment dashboard: of 20 metrics, only 'Stories replies per user' is significant at p = 0.03, and the PM wants to launch. Explain how you would respond.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.