YourAlly

Netflix Staff coding interview questions

These are the 7 coding questions YourAlly has tagged for Netflix at Staff. On the YourAlly ladder this is Staff (E6), the same level as Google L6, Meta E6 and Amazon L7.

A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level interviewers also expect clean code quickly and edge cases you raise before they do.

Practice a mock Netflix Staff coding loopPractice Netflix coding questions

Maximum Prefill Jobs Before DeadlinesFree to read

A cache appliance can run one prefill job at a time starting at time 0. Each job [duration, deadline] counts only if it finishes by its deadline. Return the maximum number of jobs that can be completed on time.

Input: jobs = [[100,200],[200,1300],[1000,1250],[2000,3200]] Output: 3

What a strong answer covers

  • Sort by deadline
  • Max-heap of chosen durations
  • Drop the longest job on violation
  • Exchange argument for optimality
  • O(n log n) time

6 more coding questions

  1. Minimum Encoding Pipeline Completion Time Locked
  2. Narrowest Window Covering Every Region Locked
  3. Choose Next Bitrate Locked
  4. Longest Stable Quality Window Locked
  5. Playlist Prefetch Window Locked
  6. Segment Retry Backoff Locked

Sign up free to practice all 7

Related pages

More Netflix Staff rounds

Netflix coding at other levels

Other companies at this level

Company guide

Netflix interview guide in Academy