TikTok Interview Question

SQL, probability, and product sense