StackAdapt interview question

Leetcode medium plus system design