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 the old and new definitions of a message as maps from field number to (name, type, label), write a checker that lists every change that would break existing wire-format clients or generated code.
Design the backend for Flipkart's product search that handles misspelled and Hinglish queries, returns ranked results across 150M+ listings, and supports filters like brand, price range, rating and delivery by tomorrow.
Given a list of trade prices for a ticker and an integer k, return the largest difference between the maximum and minimum price inside any window of k consecutive ticks. Solve it in linear time.
Design how Google Drive keeps files synchronized between a user's laptops and the cloud, including offline edits, conflicts, and efficient transfer of large files.
Under a simplified model, each reaction on a post is independently and uniformly one of four types (Like, Love, Haha, Wow). For a post with six reactions, what is the probability all four types appear at least once, and what is the expected number of distinct types?
A bag holds ten coins: nine fair and one with heads on both sides. You draw one at random and flip it three times, getting three heads. What is the probability it is the double-headed coin, and what is the probability the next flip is heads?
Estimate in your head the annual net interest income from one million revolving card accounts with an average balance of 3,000 dollars at a 24% APR, after a 5% charge-off rate and a 4% cost of funds. Then estimate monthly interest per account.
Tell me about a time you joined a team as a product manager and the engineers were skeptical of your requirements. How did you earn their trust?
Given a snippet string and a list of keywords, insert <b> and </b> tags so that every occurrence of every keyword is bold, merging overlapping or touching bold regions into one tag pair.
Describe a time you found a serious flaw in work a more senior colleague was excited about, how you confirmed it, and how you raised it. Frame it as if the flaw were lookahead bias in a signal about to go into production.
Design a class that receives tags one at a time via add(tag) and can return, at any moment, the earliest tag that has appeared exactly once so far (or None).
From a raw event log of searches and clicks with dwell times, split each user's events into sessions separated by more than 30 minutes of inactivity, then report per day how many sessions had a search, a click after the first search, and a satisfied click with at least 30 seconds of dwell.
Given VR headset session records, find for each activation week the share of new Quest users whose second session starts within 48 hours after their first session ends.
Design the ML system that ranks games and add-ons on the PlayStation Store home and PS Plus catalog rows for each player, balancing purchase revenue, engagement, and discovery of new releases.
Given a table of nightly benchmark results per benchmark, platform and commit, write a query that flags runs whose score dropped more than 3% below the average of the previous seven runs on the same benchmark and platform.
An integrity system logs account status changes (user_id, changed_at, status) with statuses like active, restricted and disabled. For a reporting window [start, end), compute total hours each user spent in each status, using the last status before the window as the starting state.
CreditWise is Capital One's free credit monitoring tool, open to anyone, customer or not. Propose a north star metric and supporting metrics that reflect real value to users and to Capital One.
Given Microsoft 365 app sessions as [start, end) intervals and a seat cap C, return the maximal time ranges during which the number of concurrent sessions is strictly greater than C.
Given a list of strings, count pairs i < j where words[i] is simultaneously a prefix and a suffix of words[j], in time near linear in total length.
A tax form is a set of lines where each line is either a constant or a weighted sum of other lines (for example line 15 = line 9 minus line 12). Compute every line's value in a valid order and report a clear error if the lines reference each other in a cycle.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.