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 list of integers where each holds one byte (its low 8 bits), determine whether the sequence is a valid UTF-8 encoding of 1- to 4-byte characters.
You have a sorted list of gift card face values (each card usable at most once). Return the minimum number of new cards you must add so that every amount from 1 to n can be paid exactly with some subset of cards.
Design the offline and online evaluation system used to decide whether a new model, prompt, or tool change makes an agent that builds full-stack apps from natural-language requests better, including how you score runs that have no single correct output.
You have 5,000 expense amounts from a client and want to know whether their first digits deviate from Benford's law; describe the test, compute the statistic for a given set of counts and interpret the result for an auditor.
Design a system that recommends Facebook Groups to people who joined the platform recently and have little activity history. Explain signals, model choice, and how you would measure success.
Tell me about a time a product partner wanted to launch a change directly and you persuaded them to test it first. What was your argument and what happened?
From a log of Capital One mobile app events, assign session numbers per customer where a new session starts after 30 minutes of inactivity or after a logout event, then report each session's start, end, event count, and whether a bill payment happened.
Third-party sellers submit listings with messy, inconsistent attributes ("16 oz", "1 pound", "Pack of 2 x 8oz"). Design an LLM-based pipeline that extracts and normalizes structured attributes across millions of listings, at controlled cost and with measurable accuracy.
Android phones are gaining satellite messaging for areas without cell coverage. Choose which countries to launch first and explain your reasoning.
Given minute-level sensor readings per asset with missing timestamps and null values, forward-fill gaps of at most N minutes (leaving longer outages empty) and return, per asset and hour, the average value and the count of valid minutes.
A model predicting whether a Facebook Group admin will stop moderating in the next 30 days reaches 0.98 AUC. Walk through how you would find out whether features are leaking the label.
For Workspace domains created in September and October, compute the weekly share that activated in their first seven days, where activation means MX records verified and at least two users added.
Tell me about a time you had very little time to test a change before it went out. How did you decide what to test first?
Implement a thread-safe bounded queue where producers block when it is full and consumers block when it is empty, with timeouts and a close operation for clean shutdown.
Tell me about a time you pushed back on launching something on schedule because it did not meet your standard for production readiness. How did you make the case and what happened?
Given an m x n matrix of integers, sort every diagonal that runs from top-left to bottom-right in ascending order, in place, and return the matrix.
Design the ML system that fills the personalized rows on the Xbox home screen (Jump back in, Recommended from Game Pass, New for you) for tens of millions of consoles, optimizing long-term play rather than just clicks.
Build a model that flags bullying and hate in TikTok comments in more than 40 languages, many with little labeled data. Describe the modeling approach.
Design the backend that lets several creators edit the same Roblox place in Studio at once, seeing each other's changes to the instance tree (parts, properties, scripts) in near real time, with conflict handling and drafts for scripts.
A new restaurant-click model has higher offline AUC than production, but the A/B test shows fewer orders. Explain how this can happen and how you would investigate.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.