Netflix Coding & Algorithms Interview Questions
Practice the exact questions companies are asking right now.

"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."
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...
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...
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 ...
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...
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...
Compute Earliest Completion Times
You are given n tasks numbered from 0 to n - 1. Each task i has a positive duration duration[i]. You are also given a list of prerequisite relationshi...
Implement a Versioned Key-Value Store
Design and implement an in-memory versioned key-value store. Requirements: - put(key, value, timestamp): store value for key at the given integer time...
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. ...
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...
Return valid task order from prerequisites
You are given N tasks labeled 0..N-1 and a list of directed dependency pairs [(a,b), ...] meaning task a must be done before task b. 1) Return one val...
Implement phrase search and JSON path
The coding rounds included two concrete implementation tasks: 1. In-memory document phrase search - You are given a list of documents, each represe...
Implement rotating homepage title selector
Implement an in-memory service that chooses which movie or show title to display on a user's homepage billboard. Each title has a relevance score for ...
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 ...
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...
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...
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...
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 Streaming Word Counter
Implement a class that records word frequencies from a stream of text. The class should support the following operations: 1. add_text(text: str) -> No...
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 a Weighted Eviction Cache
Design an in-memory cache whose capacity is limited by total weight rather than by the number of entries. Each entry has: - a key - a value - a positi...