HBO Max interview question

leetcode (medium, hard), system design, OOP