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 20-layer ReLU network trained for a content understanding task produces near-zero activations and does not learn. Explain why, and how Xavier and He initialization fix it, with a quick numerical demonstration.
Design an ML system that scores every peer-to-peer transfer in real time and decides to allow, hold for step-up verification, or block, aiming to stop account takeover and scam payouts while keeping friction low for legitimate members. Cover features, labels, training, serving and monitoring.
A strategy's P&L moves up one unit with probability 0.51 and down one unit with probability 0.49 each trade. Starting from zero, what is the probability it reaches +10 before -10, and how does that change for a +20 target with the same -10 stop?
Given a list of episodes in order where 1 means the viewer watched it and 0 means they skipped it, return the length and index range of the longest contiguous run containing at most k skipped episodes.
A well-funded competitor launches a free, ad-free AI answer engine and is growing quickly among young, tech-savvy users. How should Google Search respond?
Design the in-app chat and masked phone calling that lets a rider and driver contact each other only while a trip is active, without either side ever seeing the other's real phone number.
A video upload job moves through states CREATED, UPLOADING, UPLOADED, TRANSCODING, REVIEW and then PUBLISHED or REJECTED, with FAILED allowed from UPLOADING or TRANSCODING and up to three retries back to UPLOADING. Given a job's event sequence, report whether it is valid, and if not, the index and reason of the first bad event.
Implement the server side of a PATCH method that takes a resource and a comma-separated field mask such as 'display_name,settings.theme' and updates only those paths, validating unknown and immutable fields.
Describe a time you found and removed something that was costing your users money, time or confusion, even though nobody had asked you to, and explain how you measured the outcome.
Tell me about a time another organization's launch hurt your product's metrics and you persuaded them to change it, without any authority over their roadmap.
Active sessions for a Google account are kept in a singly linked list of device tokens. Remove every node whose token equals a given revoked token and return the new head.
Each GrabFood order has a pickup time and a drop-off time, and after any drop-off a rider needs `buffer` minutes before starting the next pickup. Return the minimum number of riders needed to serve all orders.
Given two lists of video IDs watched by two users in order, return one longest sequence of video IDs that appears as a subsequence of both histories.
Design the pipeline that records input, cached and output tokens for every API request across many models, aggregates them per organization and project, and produces accurate invoices and usage dashboards.
A homepage row is a list of titles in display order, each tagged with one genre. Given a set of required genres, return the start and end index of the shortest contiguous span that contains at least one title of every required genre, or None if no span exists.
Each driver app connection sends a heartbeat every few seconds. Implement a monitor that efficiently finds connections whose last heartbeat is older than a timeout, so dispatch stops sending offers to drivers who silently lost signal.
Given a table of team-purchase groups with creation time, category and final status (OPEN, COMPLETED or FAILED), write SQL that returns, per creation day and category, the number of settled groups, the number completed, and the completion rate.
Given a table of campaign sends and a table of subscriber opt-outs, compute for each campaign the number of unique recipients, how many opted out within 48 hours after receiving it, and the opt-out rate.
Design a service that runs millions of customer-defined SQL tasks on cron schedules or after predecessor tasks finish, with at-most-one concurrent run per task, retries, overlap rules, and fair use of shared serverless compute.
Each slot in a home feed has an expected revenue if a promoted Pin is placed there, and policy requires at least gap organic Pins between any two promoted Pins. Choose slots to maximize total expected revenue and return the chosen slots.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.