Netflix Coding & Algorithms Interview Questions

Practice the exact questions companies are asking right now.

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

Report Tree Levels and Balanced Subtrees

Implement describe_balanced_nodes(values) for a binary tree represented as a zero-based heap array. For an existing node at index i, its children are ...

Coding & Algorithms
0
0
7 people solved
Aug 11, 2026
Netflix logo
Netflix
Medium
Software Engineer

Count Pairs of Strings with Disjoint Character Sets

Count Pairs of Strings with Disjoint Character Sets Problem Implement countDisjointStringPairs(words) -> count. Count unordered index pairs (i, j) wit...

Coding & Algorithms
0
0
11 people solved
Jul 31, 2026
Netflix logo
Netflix
Medium
Software Engineer

Find the Longest Substring Without Repeated Characters

Find the Longest Substring Without Repeated Characters Problem Implement longestUniqueSubstringLength(text) -> length. Return the length of the longes...

Coding & Algorithms
1
0
10 people solved
Jul 31, 2026
Netflix logo
Netflix
Medium
Software Engineer

Find the Longest Run of One Character

Find the Longest Run of One Character Problem Implement longestIdenticalRun(text) -> length. Return the maximum number of consecutive positions contai...

Coding & Algorithms
0
0
6 people solved
Jul 31, 2026
Netflix logo
Netflix
Medium
Software Engineer

Analyze Overlap in Closed Intervals

Implement closed_interval_overlap(intervals, query_points). Each interval [start, end] is closed, so it contains both endpoints. Return [[maximum_over...

Coding & Algorithms
0
0
5 people solved
Jul 31, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Solve String Arrays and Row Deduplication

This multi-part question evaluates array and string manipulation skills, deduplication logic and pairwise character comparison, as well as the ability...

Coding & Algorithms
2
0
30 people solved
May 28, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Compute Minimum Task Completion Time

This question evaluates understanding of graph algorithms (topological sort and DFS), dependency scheduling, cycle detection, and critical-path comput...

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

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

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

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

Coding & Algorithms
5
0
45 people solved
Apr 15, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Return the longest contiguous subarray with all distinct values

This question evaluates a candidate's understanding of array-processing algorithms, duplicate detection, and maintaining state to identify the longest...

Coding & Algorithms
15
0
283 people solved
Jan 22, 2026
Netflix logo
Netflix
Medium
Software EngineerSenior+

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

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

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

Coding & Algorithms
22
0
110 people solved
Jul 29, 2025
Netflix logo
Netflix
Easy
Machine Learning Engineer Locked

Implement rotating homepage title selector

This question evaluates understanding of data structures and algorithms for prioritized selection with stateful constraints, focusing on maintaining d...

Coding & Algorithms
2
0
43 people solved
Jan 6, 2026
Netflix logo
Netflix
Hard
Data Engineer Locked

Implement phrase search and JSON path

This question evaluates the ability to build an inverted index for in-memory exact phrase search and to implement JSON path traversal with wildcard ma...

Coding & Algorithms
5
0
49 people solved
Dec 13, 2025
Netflix logo
Netflix
Medium
Software Engineer

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

Coding & Algorithms
12
1
101 people solved
Jan 22, 2026
Netflix logo
Netflix
Hard
Data Engineer Locked

Implement a Weighted Eviction Cache

This question evaluates proficiency with data structures and algorithmic design for resource-constrained caching, specifically weight-aware eviction p...

Coding & Algorithms
4
0
43 people solved
Nov 27, 2025
Netflix logo
Netflix
Medium
Software Engineer Locked

Compute minimum semesters to finish courses

This question evaluates graph theory and scheduling competencies, including dependency resolution, cycle detection in directed graphs, and capacity-co...

Coding & Algorithms
15
0
225 people solved
Feb 4, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Design playlist with add/remove/shuffle

This question evaluates data structure design and algorithmic complexity skills, focusing on managing dynamic sets, uniform random selection, and aver...

Coding & Algorithms
31
0
221 people solved
Jan 22, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Find longest run of identical consecutive shows

This question evaluates array-manipulation skills and the ability to identify contiguous runs of equal values, emphasizing algorithmic efficiency and ...

Coding & Algorithms
4
0
70 people solved
Jan 22, 2026
Netflix logo
Netflix
Hard
Software Engineer Locked

Design command executor with undo

This question evaluates understanding of the command pattern, state and history management, failure handling, and appropriate data structure use for i...

Coding & Algorithms
9
0
70 people solved
Jan 20, 2026

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