Google interview question

System design and leetcode riddles