Netflix Interview Question

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