TikTok interview question

multiple-choice questions, SQL, implementing algo