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 how multiple people edit the same shared note from iPhone, iPad, Mac, and iCloud.com simultaneously, including offline edits that merge cleanly when devices reconnect.
Add-to-cart rate in one European country fell 12 percent week over week while other countries were flat. Walk through how you would find the cause and what you would do about it.
Members save job searches (keywords, location, seniority, remote) and expect alerts when new matching jobs are posted. Design a system that matches each new job against hundreds of millions of saved searches in near real time.
A rate card is an n by n matrix where each row and each column is sorted in non-decreasing order (rows are distance bands, columns are weight bands). Return the kth smallest fee overall.
An office floor plan is a grid where 'E' is an exit, '#' is a wall, and '.' is a desk or open floor. Return a grid of the walking distance from each open cell to its nearest exit, using -1 for walls and unreachable cells.
You are the analytics lead for the prescription management part of the CVS Pharmacy app. Propose a north star metric, two or three supporting metrics, and explain why you rejected common alternatives like daily active users.
Given a cell edit log and a table mapping bases to workspaces, compute for each workspace and week the number of distinct people who edited something and the share of them who edited in two or more different bases, counting only edits made by people.
Two requests try to redeem miles from the same rewards account at nearly the same time. Implement redemption with a version column so the balance never goes negative, a redemption is never applied twice, and concurrent writers retry safely.
Given purchase events and ad click events, write pandas code that attributes each purchase to the user's most recent ad click in the 7 days before it, and reports purchases and revenue per campaign plus unattributed.
Given a list of audience segment tags that may contain duplicates, return every distinct bundle (sub-multiset) of tags, including the empty bundle. Two bundles are the same if they contain the same tags with the same counts.
Implement a late fee calculator where each state has effective-dated rules (minimum grace period, percentage cap, optional dollar cap) and each loan's note has its own grace period and fee terms. Charge the fee that is most favorable to the borrower among what the note allows and the law permits.
Given a user's map coordinates and a list of edge sites with coordinates, return the names of the k sites closest to the user by straight-line distance, nearest first.
Implement a fixed-capacity queue shared by producer and consumer threads, where put blocks while full and get blocks while empty, with optional timeouts and a close method that lets consumers drain and exit cleanly.
Tell me about a time you wanted your team to change a habit or norm, and how you made the case without relying on your own opinion.
Given a list of trade prices in time order and a tolerance k, return the length of the longest contiguous window whose max price minus min price is at most k.
Tell me about a time several stakeholders each said their request was the top priority in the same week. How did you decide what to do first, and how did you communicate it?
Exchange market data arrives over UDP multicast with sequence numbers. Write a component that delivers packets in order, buffers out-of-order ones, discards duplicates, and reports the missing ranges to request from a retransmission service.
Describe a time a customer asked for something you believed would harm them, and how you disagreed with them while keeping their trust.
Design a system that continuously samples stack traces from every server at Meta with very low overhead, aggregates them, and lets engineers see which functions consume the most CPU across the fleet and how that changes between builds.
Given daily YouTube watch minutes for a channel and an integer k, return the highest average over any k consecutive days.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.