TikTok interview question

Explain A/B testing and how to get the sample size