A recruiter call that screens culture fit, one 60-minute technical screen, then a virtual onsite of about five rounds: coding, system design, a team-specific domain or data-modeling round, and two manager or culture conversations.
44 questions
Key-value cache with per-entry TTLCodingImplement an in-memory key-value cache where every write gives a key, a value and a time-to-live. Once an entry's time is up it must behave as if it was never written. Support…
Last asked Oct 2026
ML fundamentals deep dive for ML rolesML designAfter a short walk through your resume, expect fast questions on machine learning basics, usually centred on your own area (language models, vision, recommendations). For each…
Last asked Oct 2026
Behavioral round on company valuesBehavioralA behavioral round anchored on the company's published values: bring experiences covering conflict, feedback, mentorship, leading work and technical trade-offs. Reported on…
Last asked Sep 2026
Design a GPU scheduling platformAI systemShare a large GPU cluster among research and production teams: queue training and inference jobs, enforce quotas and priorities, place jobs on topology-aware hardware, and preempt…
Last asked Sep 2026
Transformer and attention fundamentalsML designExplain how a transformer works from the inside: how self-attention is computed, why the scores are scaled, how encoder and decoder masking differ, and what multiple heads buy…
Weighted cache that evicts the heaviest entriesCodingImplement WeightedCache, a key-value cache with a total-weight budget instead of an item count. Each entry has a positive integer weight. After every put, the sum of the weights…
Last asked Sep 2026
Rotating title picker for a home-page billboardCodingBuild a component that picks which title to show next in a billboard (or plays next in a playlist). Every title has a relevance score, and scores can change at any time. Each call…
Last asked Sep 2026
Parse a custom record format with mapped fieldsCodingParse records written in a custom text format: a few fixed comma-separated fields first (for example a machine code, a timestamp and two coded fields), then a free-form section of…
Last asked Sep 2026
Sparse matrix multiplicationCodingMultiply two matrices that are mostly zeros. Store only the non-zero entries and skip work on zeros, and state the cost in terms of the number of non-zero entries.
Last asked Sep 2026
Design an ad frequency capping serviceSystem designDesign the service that decides, at ad-serving time, whether a user may see another ad from a campaign, so that caps like "at most 3 per user per day" or "exactly once" hold…
Last asked Aug 2026
Minimum broadcast latency between citiesCodingCities are linked by network connections, each with a latency. A broadcast starts from a source city and travels along the links. Compute the shortest latency from the source to…
Last asked Aug 2026
Print each tree node's level and whether it is balancedCodingGiven a tree, walk it with a depth-first search and report, for every node, its level and whether the subtree under it is balanced (by the definition the interviewer gives, such…
Last asked Aug 2026
Model the data for an ad campaign management systemSystem designDesign the schema behind the advertiser side of an ads business: advertisers, campaigns, ad groups, creatives, targeting, budgets and orders, plus how impressions and spend are…
Last asked Aug 2026
Deduplicate titles across a home page's visible rowsCodingA home page shows rows (shelves) of titles, and only the first few titles of each row are visible on the first screen. The same title may appear in several rows. Choose what to…
Last asked Jul 2026
Longest substring without repeating charactersCodingReturn the length of the longest substring with no repeated character, with a sliding window that remembers the last index of each character.
Last asked Jul 2026
Count pairs of words with no letters in commonCodingGiven a list of strings, count the pairs that share no character. Encode each string's character set as a bitmask so a pair check is one AND, then group strings by mask to avoid…
Last asked Jul 2026
Longest run of identical consecutive itemsCodingGiven a sequence, such as a string or the list of shows a user watched in order, return the longest run of the same item repeated back to back: its length and the item (and its…
Last asked Jul 2026
Maximum overlap of closed intervalsCodingGiven a list of closed intervals start, end (both endpoints included), return the largest number of intervals that contain one point on the number line. Two intervals that only…
Last asked Jul 2026
Group dependent tasks into parallel levelsCodingYou run a build system. Each task has a unique, non-empty lowercase name. Some tasks depend on others: a dependency before, after means before must finish before after can start…
Last asked Jun 2026
Recruiter screen: motivation, background and logisticsBehavioralA short first call with a recruiter: a few standard behavioral questions about your background and why you want the role, then timeline, location and compensation expectations…
Last asked May 2026
Command executor with undoCodingImplement a class that executes commands and can undo them: execute(command) applies it and records it, and undo() reverts the most recent command that has not been undone. Decide…
Last asked Apr 2026
Count words in a text streamCodingWrite a class that receives text in chunks from a stream and keeps a count of how many times each word has appeared, with a method to read the count of a word (or the most common…
Last asked Apr 2026
Design a file backup systemSystem designDesign a system that backs up files from many machines and restores them on demand. You may assume basic file operations exist; focus on how backups work. Cover full versus…
Last asked Apr 2026
Design an ad pacing systemSystem designAdvertisers set a budget for a campaign over a period. Design the system that paces delivery so the budget is spent smoothly over that period instead of running out in the first…
Design an ML platform portalML designDesign the portal that machine learning engineers use to work with the company's ML platform: finding datasets and features, launching training jobs, tracking experiments…
Last asked Feb 2026
Concurrent latency percentile trackerCodingBuild a component that records request latencies from many threads and answers percentile queries such as p50, p95 and p99. Discuss exact versus approximate approaches (sorted…
Last asked Feb 2026
Friend groups by matching last k moviesCodingA streaming service stores each customer's full viewing history, oldest title first. Two customers are friends when the set of their last k watched titles is the same. Order…
Last asked Jan 2026
Playlist with add, remove and shuffleCodingImplement a video playlist that supports adding a title, removing a title and shuffling the order, along with playing the next title. Aim for constant-time add and remove, a fair…
Last asked Jan 2026
Design an ad audience targeting systemSystem designAdvertisers define audiences, including by uploading large lists of users, and campaigns target those audiences. Design the system that ingests audience data at scale and, when an…
Last asked Jan 2026
Build a recommender, then a chatbot on top of itAI system1. Build a recommendation system from scratch: data, candidate generation, ranking, evaluation and serving. 2. Now that it exists, build a conversational interface on top of it…
Last asked Jan 2026
Design a crash-resilient file systemSystem designDesign a file system that can recover file contents correctly after a crash at any moment. Cover write ordering, journaling or copy-on-write, what is guaranteed after fsync, the…
Last asked Dec 2025
Design an ad click aggregation systemSystem designCount ad clicks per ad and per time window from billions of events a day, accurately enough to bill advertisers, with results available within minutes.
Last asked Dec 2025
Thread-safe key-value storeCodingImplement an in-memory key-value store that many threads can use at once. Start with correctness, then reduce contention with finer-grained locks (striped locks or a lock per…
Last asked Nov 2025
Turn dotted keys into a nested dictionaryCodingA model's weights come as a flat mapping from dotted names such as layer1.attention.query.weight to values. Convert it into a nested dictionary ({"layer1": {"attention": {"query":…
Possibly retired
Co-occurring tags for a tag filterCodingEach title in a catalog carries a group of tags that were assigned together, for example "drama", "british", "crime". You get all the groups as a list of lists of strings, groups…
Count intervals covering a pointCodingBuild a data structure over a fixed list of closed intervals on the integer number line that answers many point queries quickly. An interval l, r covers a point x when l <= x <=…
Design YouTubeSystem designUpload videos, transcode them into many formats, and stream them worldwide with adaptive bitrate, along with views, likes and comments.
K-th greatest value in every growing prefixCodingYou are given arr, a permutation of the integers 1 to n (each value appears exactly once), and an integer k with 1 <= k <= n. Read arr from left to right. After reading each…
One-hot encode an integer arrayCodingWrite onehot(arr: listint) - listlistint that returns the one-hot encoding of an integer array as a 2D list. - The matrix has one row per element of arr, in the same order. - It…
Pick the highest-scoring movie row by top-k similarityCodingA user just finished a movie they liked. Your recommender already scored every other title for how similar it is to that movie, and the catalog is split into curated groups (rows…
Rate-limited event loggerCodingBuild a logger that rate-limits repeated events in a stream. Each event has a string name and an integer timestamp in seconds. Timestamps arrive in non-decreasing order, and…
Two-colour a board with walls and fixed cellsCodingYou are given an M x N board as a matrix of integers. Each cell is one of: - 1: already painted black - 0: already painted white - 9: empty, still to be painted - -1: a wall…
Question types
Netflix interview process and questions · Land the Lab