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
Design the ML system that decides which candidate push notifications (news, weather, sports scores, reminders) to send each user, and when, without causing fatigue or disables.
Design an ML-driven router that, for each ChatGPT message, decides whether a fast model can answer well or whether a slower reasoning model is needed, balancing answer quality, latency and GPU cost.
A field extractor outputs a confidence per document, and a validation sample gives counts of correct and incorrect extractions in confidence buckets. Choose the lowest auto-approval threshold whose error rate among auto-approved documents stays under 1 percent with reasonable statistical confidence, and estimate the straight-through processing rate and expected human review volume.
Advertisers request bookings of a homepage takeover slot, each with a start time, end time and payment. Choose non-overlapping bookings to maximize total revenue.
Given the planar coordinates of Street View capture cars and an integer k, return the k cars closest to the origin, which is the dispatch depot.
SharePoint keeps item IDs in a binary search tree. Implement a pager that returns IDs in ascending order one page at a time, optionally starting from a given ID, using memory proportional to the tree height.
Given business listings with name, phone and ZIP code, group listings that refer to the same business when they share a normalized phone number or a normalized name within the same ZIP, applying matches transitively.
Design Uber Reserve: a rider books a pickup up to 30 days ahead, gets a confirmed driver before the trip, and the system must find, hold, and dispatch that driver on time even when the marketplace changes.
Describe a time you had a fixed launch date and could not deliver everything planned. How did you decide what to cut, and how did you get agreement?
Implement a comparator for semantic version strings including prerelease tags, then write a table-driven test suite that covers ordering rules, symmetry, and invalid input, explaining why each case is there.
Tell me about a time your project depended on another team who had different priorities. How did you get them to prioritize the work you needed?
Given home automation routines and pairs (a, b) meaning a must finish before b starts, return a valid execution order that is alphabetically smallest at each choice, or report one dependency cycle if no order exists.
A profile frame badge for Facebook Gaming is a ring of 6 equally spaced beads, each colored blue or white, and two designs are the same if one is a rotation of the other. How many distinct badges exist, and how many with 3 colors?
Given a TikTok video caption, return the distinct hashtags and @mentions it contains, lowercased and in first-seen order. A tag must start at the beginning of the caption or after whitespace; hashtags use letters, digits and underscores, and mentions may also contain dots but never end with one.
A wall of shelf columns has uneven free vertical space, given as one height per unit-wide column. Find the area of the largest rectangular promotional display that fits entirely within the free space.
Given invite records and orders, compute for each inviter how many invitees they brought and how many of those placed a completed order within 7 days of the invite, counting only orders placed after the invite.
Tell me about a project where your time estimate turned out to be far too optimistic. When did you realize it, and what did you do?
Given the sequence of content hashes for photos a user uploaded to Google Photos and an integer k, return True if the same hash appears twice at positions at most k apart.
Given the spend categories a customer cares about and a set of cards with their bonus categories, return the smallest set of cards whose combined bonus categories cover every needed category, or None if no set covers them.
A singly linked list of network packets must be reversed in consecutive groups of k nodes; a final group with fewer than k nodes stays in its original order. Do it in place with O(1) extra space.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.