Netflix interview question

Your average Leet-code style code interview, it was around 4 questions for an hour limit.