TikTok interview question

SQL, probability, and product sense