Netflix Software Engineer Coding & Algorithms Interview Questions
Practice 23 real Coding & Algorithms interview questions for Software Engineer roles at Netflix.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Solve String Arrays and Row Deduplication
You are given the following independent coding tasks. For each task, write clean production-quality code, handle edge cases, and state the time and sp...
Return the longest contiguous subarray with all distinct values
Given an array shows of integers, return the longest contiguous subarray in which all values are distinct (no repeats within the subarray). Function s...
Compute Minimum Task Completion Time
You are given n tasks numbered from 0 to n - 1. Each task i takes durations[i] units of time to execute. You are also given a list of directed depende...
Implement TTL Cache and Tree Balance Reporting
Complete both coding tasks. Task A: Time-limited cache Design and implement an in-memory cache where every key expires after a time-to-live duration. ...
Implement Cache, Undo, and DFS
Answer the following independent coding prompts. 1. Timed cache: Implement a generic in-memory cache. Each inserted item has a fixed expiration time k...
Solve sliding-window and disjoint-string-pairs tasks
Task A (Sliding Window) Given a string s, find the length of the longest contiguous substring that contains no repeated characters. - Input: a string ...
Implement Caches, Undo, and Traversal
Solve the following coding tasks. For each task, define clean APIs, implement the core logic, and be prepared to explain time and space complexity. Ta...
Find user pairs with overlapping last K movies
You are given the same user movie-watching histories as in the previous problem. Each user’s history is an ordered list of movie IDs from earliest to ...
Design playlist with add/remove/shuffle
Music Playlist Data Structure Design an in-memory Playlist data structure that supports the following operations on a set of songs: - add(songId): Add...
Dedupe titles in per-shelf viewport
You are rendering a streaming app home page. - The home page consists of shelves displayed from top to bottom. - Each shelf contains a list of titleId...
Find longest run of identical consecutive shows
Given an array shows of integers, find the maximum length of a contiguous run where all values are equal. Function signature - Input: shows: List[int]...
Group users by same last K watched movies
You are given a list of users' movie-watching histories. Each user’s history is an ordered list of movie IDs in the order they were watched (earliest ...
Solve non-repeating show substring
Question LeetCode 3. Longest Substring Without Repeating Characters – variant where the elements are show names instead of numbers. https://leetcode.c...
Implement ordering and undo executor
The interview included two coding tasks: 1. Dependency ordering: Given a set of tasks and their dependency relationships, return a valid execution ord...
Compute minimum semesters to finish courses
You are given n courses labeled 1..n and a list of prerequisite relations prereq, where each element is a pair [a, b] meaning you must complete course...
Find longest unique show window
Given an array of show names (strings) representing a user's viewing history, return the start and end indices of a longest contiguous subarray that c...
Design command executor with undo
Problem Design and implement a command-execution framework that supports executing commands and undoing the most recently executed command. Requiremen...
Compute subtree sums with tree DFS
You are given an undirected tree with n nodes labeled 1..n and n-1 edges. The tree is rooted at node 1. Each node i has an integer value val[i]. Retur...
Implement topological sort from string input
You receive N lines of raw text describing task dependencies, e.g., 'install A after B', 'C->A', 'B before D'. Implement a function that: ( 1) parses ...
Implement weighted-eviction cache
Question Design and implement a weighted cache supporting get(key) and put(key, value, weight) operations. The cache has a total weight limit; when in...