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
Return every abbreviation of a word where any set of non-overlapping, non-adjacent runs of letters is replaced by the run's length, for example ads can become 3, 2s, 1d1, a2 and so on.
Return the values of a binary tree grouped by vertical column from leftmost to rightmost. Within a column, list nodes top to bottom, and nodes on the same row and column in left-to-right order.
You have 10,000 human labels per week to estimate the prevalence of hate speech among a billion Facebook posts, with posts bucketed by classifier score into high, medium and low strata. Derive the optimal allocation of labels across strata and compare its precision with simple random sampling.
Meta has a strong English classifier for harassment but few labels in languages like Amharic or Tagalog. Explain how you would build a classifier that works across these languages and how you would know it works.
Design the per-user activity feed in Microsoft Teams that collects mentions, replies, reactions and missed calls from every chat, channel and app, and shows them in order with unread counts.
Given n functions and a profiler trace of entries "id:start:timestamp" and "id:end:timestamp" from a single-threaded program (end timestamps are inclusive), compute each function's exclusive time, excluding time spent in the functions it called.
Design the service that authorizes a customer's payment at checkout and captures the right amount when each shipment of a multi-item order ships, guaranteeing customers are never double charged.
Tell me about a time you delivered a project that depended on several teams you did not manage, such as a client's IT organization and your own engineers. How did you keep it on track?
A new Facebook Marketplace search ranker surfaces nearby listings first. Explain why a buyer-randomized A/B test can mislead and propose a design that captures effects on sellers too.
Amazon search ranking changes are often judged by click-through rate. Propose better metrics for search quality and explain the weaknesses of each.
You roll a fair die repeatedly. Each roll that is not a 6 adds its face value to your payout; the game ends the first time you roll a 6, which pays nothing. What is the expected payout, and what is a fair entry fee?
Describe a time you found an important system, process or risk that no one clearly owned, how you decided to take it on, how you handled the ambiguity, and what happened.
For a word puzzle game, given an m by n grid of letters and a list of dictionary words, return all words that can be formed by moving between horizontally or vertically adjacent cells without reusing a cell within one word.
An Instagram Stories ranking test reports a 15% lift in story views, far above any past ranking change. The treatment build also shipped a new view logging event. What do you do before anyone makes a launch call?
Upload sizes are independent and uniform between 0 and 1 GB. On average, how many uploads does it take until their cumulative size first exceeds 1 GB?
Given player sessions on a game server as half-open intervals [start, end), return the maximum number of simultaneously connected players and the earliest time that peak is reached.
Given a premium_payments table (member_id, coverage_month, amount_paid), write SQL that lists every gap where a member paid for a month, skipped one or more months, and later paid again, with the gap start, gap end and number of missed months.
Given a map from creator ID to a list of follower IDs (which may contain repeats and arrive in any order), return groups of creators who share exactly the same set of followers. Only return groups with at least two creators.
Prime Video weekly watch hours fell 8% week over week, while the number of active viewers is flat. Explain how you would figure out what happened.
Pick one meaningful improvement to Google Maps for people who use wheelchairs, explain why it matters most, and how you would know it worked.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.