TikTok interview question

front-end :react coding+leecode+bq. 3 rounds