Netflix Data Scientist Interview Questions

Review this list of Netflix data scientist interview questions and answers verified by hiring managers and candidates.
  • Netflix logoAsked at Netflix 
    +18

    " open = ['(','{','['] close = [')','}',']'] def is_valid(s: str) -> bool: pass # your code goes here n = len(s) if n == 0: return True elif n == 1: return False valid = (s[0] == '(' and s[1] == ')') or \ (s[0] == '{' and s[1] == '}') or \ (s[0] == '[' and s[1] == ']') if valid: return valid & is_valid(s[2:n]) else : valid = (s[0] == '(' and s[-1] == ')') or \ (s[0] == '"

    Cagdas A. - " open = ['(','{','['] close = [')','}',']'] def is_valid(s: str) -> bool: pass # your code goes here n = len(s) if n == 0: return True elif n == 1: return False valid = (s[0] == '(' and s[1] == ')') or \ (s[0] == '{' and s[1] == '}') or \ (s[0] == '[' and s[1] == ']') if valid: return valid & is_valid(s[2:n]) else : valid = (s[0] == '(' and s[-1] == ')') or \ (s[0] == '"See full answer

    Data Scientist
    Data Structures & Algorithms
    +4 more
  • Netflix logoAsked at Netflix 
    Video answer for 'Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?'
    +12

    "public static int maxProfitGreedy(int[] stockPrices) { int maxProfit = 0; for(int i = 1; i todayPrice) { maxProfit += tomorrowPrice - todayPrice; } } return maxProfit; } "

    Laksitha R. - "public static int maxProfitGreedy(int[] stockPrices) { int maxProfit = 0; for(int i = 1; i todayPrice) { maxProfit += tomorrowPrice - todayPrice; } } return maxProfit; } "See full answer

    Data Scientist
    Data Structures & Algorithms
    +4 more
  • "Goals : Determine if the TV series should be renewed If it should be renewed, how much should Netflix be willing to pay for this series Let's assume that the goal is to maximize subscriber retention and engagement while paying a reasonable amount for the licensing costs that is justified by the value added by the series. Assumptions : The show is exclusive to Netflix for a particular region (for eg. US) It has been on the platform for an year Netflix has subscriber level data around"

    Saurabh K. - "Goals : Determine if the TV series should be renewed If it should be renewed, how much should Netflix be willing to pay for this series Let's assume that the goal is to maximize subscriber retention and engagement while paying a reasonable amount for the licensing costs that is justified by the value added by the series. Assumptions : The show is exclusive to Netflix for a particular region (for eg. US) It has been on the platform for an year Netflix has subscriber level data around"See full answer

    Data Scientist
    Data Analysis
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

Showing 1-3 of 3