Netflix Coding & Algorithms Interview Questions

Practice the exact questions companies are asking right now.

35 Questions 1 Company08.11.2026
Showing 15 results
Role
Netflix logo
Netflix
Medium
Software Engineer

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 ...

Coding & Algorithms
21
0
146 people solved
Dec 8, 2025
Netflix logo
Netflix
Medium
Software Engineer

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...

Coding & Algorithms
12
0
194 people solved
Aug 4, 2025
Netflix logo
Netflix
Medium
Software Engineer

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...

Coding & Algorithms
7
0
118 people solved
Aug 1, 2025
Netflix logo
Netflix
Medium
Software Engineer

Simulate a TTL Cache with LRU Eviction

Simulate a TTL Cache with LRU Eviction Implement a deterministic simulator for a cache that combines per-key expiration with a fixed-capacity least-re...

Coding & Algorithms
1
0
15 people solved
Jul 11, 2026
Netflix logo
Netflix
Medium
Software EngineerSenior+ Locked

Implement Cache, Undo, and DFS

This question evaluates implementation skills in data structures, algorithmic complexity, and state-management patterns by combining a timed in-memory...

Coding & Algorithms
3
0
51 people solved
Apr 26, 2026
Netflix logo
Netflix
Medium
Machine Learning Engineer

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...

Coding & Algorithms
0
0
5 people solved
Apr 22, 2026
Netflix logo
Netflix
Medium
Software Engineer

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. ...

Coding & Algorithms
1
0
13 people solved
Apr 17, 2026
Netflix logo
Netflix
Hard
Software EngineerSenior+

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...

Coding & Algorithms
0
0
11 people solved
Apr 5, 2026
Netflix logo
Netflix
Hard
Software Engineer

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...

Coding & Algorithms
24
0
242 people solved
Mar 9, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Solve sliding-window and disjoint-string-pairs tasks

This question evaluates proficiency in string-processing algorithms, sliding-window techniques, efficient set or bitmask representations, and combinat...

Coding & Algorithms
28
0
270 people solved
Mar 1, 2026
Netflix logo
Netflix
Medium
Software Engineer

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...

Coding & Algorithms
9
0
129 people solved
Jan 30, 2026
Netflix logo
Netflix
Medium
Software Engineer

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 ...

Coding & Algorithms
10
0
185 people solved
Dec 8, 2025
Netflix logo
Netflix
Medium
Data Scientist

Implement longest increasing subarray with one deletion

Given an array of integers nums, return the length of the longest strictly increasing contiguous subarray you can obtain by deleting at most one eleme...

Coding & Algorithms
18
0
129 people solved
Oct 13, 2025
Netflix logo
Netflix
Medium
Software Engineer

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 ...

Coding & Algorithms
12
0
155 people solved
Jul 17, 2025
Netflix logo
Netflix
Medium
Data Scientist

Identify Longest Consecutive Incrementing Watch-Time Sequence

Scenario A streaming platform records daily minutes watched per user and wants to identify engagement streaks. Question Given an unsorted integer arra...

Coding & Algorithms
19
0
52 people solved
Jul 12, 2025

Explore more Netflix Coding & Algorithms interview questions

Real questions from candidate reports, grouped by role, topic and company.

By role
Other categories at Netflix
Coding & Algorithms questions at other companies
Browse all
Netflix Coding & Algorithms Questions (Updated 2026) — Page 2 | PracHub