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
Implement a cache for knowledge-base retrieval results that is bounded by total bytes rather than entry count, expires entries after a per-entry TTL, and evicts least recently used entries when over budget.
Given a list of raw prompts, group the indices of prompts that are identical after lowercasing, removing punctuation and collapsing whitespace, returning only groups with at least two members ordered by first occurrence.
Daily card settlement totals must be grouped, in date order, into at most k contiguous batches for transfer to a partner bank. Return the smallest possible value of the largest batch total.
You must train a 30B-parameter language model on a cluster of GPUs that each have 80 GB of memory. Explain data parallelism, tensor and pipeline parallelism, and fully sharded data parallelism, and how you would combine them.
A model has layers in order, each with a compute time and a memory footprint. Split them into at most k contiguous pipeline stages so each stage fits in a memory cap, minimizing the slowest stage's total compute; return -1 if impossible.
Given the start and end times of every backup job that ran on one cluster node during a day, return the total time the node had at least one job running.
Design the service that delivers signed webhook events (transfer state changes, KYC approvals, deposit received) to thousands of developer endpoints with at-least-once delivery, retries, ordering hints and self-serve replay.
Tell me about a time a director or other senior leader asked for something you believed was the wrong thing to build. How did you respond?
Describe a time you disagreed with how your team was labeling or collecting training data for a model, and how you got the approach changed.
Explain how LambdaMART combines LambdaRank gradients with gradient boosted trees, and why it remains a strong choice for product search ranking with hand-built features.
About 2% of new Facebook accounts are fake. A classifier flags fakes with 90% sensitivity and a 5% false positive rate, then a human reviewer with 95% sensitivity and a 2% false positive rate checks every flagged account; find the probability an account is fake when both flag it, and when the classifier flags it but the reviewer clears it.
Given an hourly employee's clock-in and clock-out punches and an hourly rate, compute regular hours, overtime hours (over 40 per Sunday-to-Saturday workweek, paid at 1.5x) and gross pay for each workweek.
Design the system that executes scheduled card autopay payments for millions of Capital One cardholders on their due dates, pulling funds from external bank accounts by ACH, exactly once, and handling returns and changes to the schedule.
Given directory listing strings like 'root/a 1.jpg(abcd) 2.jpg(efgh)', where each file is followed by its content hash in parentheses, return groups of full file paths that have identical content, including only groups with at least two files.
Coinbase plans to test sending a push notification when an asset in a user's watchlist moves more than 5% in a day. Design the A/B test, choosing the primary metric and guardrails.
Design a scheduler for a shared cluster of 8-GPU MI300X-class nodes that places training and fine-tuning jobs so GPUs that talk heavily share fast links, supports priorities and preemption, and keeps utilization high.
A subscriber can receive each participant's video at one of several simulcast layers, each with a bitrate and a utility score, or not at all; choose a layer per stream to maximize total utility without exceeding the subscriber's estimated downlink bandwidth.
Design the Instagram Direct inbox: the list of conversations sorted by most recent activity, with an accurate unread badge per thread and a total unread count on the app icon, synced across devices.
Given an ordered list of nightly builds where the oldest passes and the newest fails a UI test that is also intermittently flaky, find the first build that introduced the real failure with as few test runs as possible.
Tell me about a time your analysis found that a small group of customers was having a much worse experience than the average suggested, and how you got the team to act.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.