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 stream of price ticks with timestamps, output for every tick the highest and lowest price over the trailing time window, in amortized constant time per tick.
Explain how batch normalization and layer normalization compute their statistics, why Transformers for language use layer normalization or RMSNorm, and what breaks if you put batch normalization in an autoregressive decoder.
A new note-generation model is ready, and leadership wants to know whether it reduces clinician documentation time without increasing note errors. Design the experiment, choose the unit of randomization and metrics, and explain how you would analyze it.
A linked list holds account balance deltas. Repeatedly delete consecutive sequences of nodes whose sum is 0 until none remain, and return the head of the final list.
Given service names and pairs (a, b) meaning service a must be deployed before service b, return a valid deployment order that is lexicographically smallest, or an empty list if the dependencies contain a cycle.
Design the system that receives fills from every exchange and clearing drop copy, normalizes them into a single trade record, maintains real-time positions and PnL per account and option series, and reconciles against the clearing firm at end of day.
Describe a time you owned a launch for an important customer that went badly at first, how you handled the customer relationship and the fix, and what changed afterwards.
Large chat messages are split into chunks that may arrive out of order, duplicated or not at all. Write a receiver that rebuilds whole messages, delivers them strictly in sequence, and reports which chunks to retransmit.
The rider app team shipped 30 experiments last quarter, each showing a small win, and their summed lifts imply 9% more trips. Total trips only grew 3%. Explain the gap and design a long-term holdout to measure the real cumulative impact.
Research shows some Reels sessions leave people feeling they wasted time. How would you reduce regretted time on Reels while protecting the long-term health of engagement, and how would you convince leadership it is worth it?
Capital One wants to know which 360 Checking customers treat it as their main bank account. Define a primacy metric, justify the signals you use, and explain how the team would use it.
A legacy ID scheme only issues positive integers whose prime factors are all in {2, 3, 5}, with 1 counted first. Return the nth such ID.
Design the pipeline that generates automatic captions for every newly uploaded YouTube video, in the spoken language, and makes them available on the watch page and for auto-translation, prioritizing popular videos.
You are given an array of integer retention deltas, one per consecutive video in a user's session (positive when watch time rose, negative when it fell). Count the contiguous stretches whose deltas sum exactly to a target k.
The Play Store home page recommends apps to each user. Define metrics for recommendation quality that go beyond install count, and explain how to use them in experiments.
Design the backend that builds a 'Following' feed on Pinterest: a reverse-chronological stream of new Pins saved to boards and by creators a user follows, with fast reads and support for accounts with millions of followers.
A smart home energy app shows personalized tips (shift laundry off-peak, lower water heater temperature) to homeowners. As the product manager, design how you would measure whether tips reduce household energy use and bills, and decide whether to expand the feature.
A new Facebook Feed ranking model lifts time spent by 0.15% (95% CI 0.05% to 0.25%) but needs 20% more inference compute. Should it launch?
Design the service that takes a business's payout request (amount, currency, beneficiary country and details) and chooses and executes the best route, such as a local rail through a partner bank or SWIFT, then tracks it to completion.
Each week a metric changes by an integer multiplier that can be negative or zero after data corrections. Find the contiguous run of weeks whose multipliers have the largest product.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.