The algorithm behind TikTok's content recommendations has once again drawn mainstream attention following the recent US ruling for ByteDance, its Chinese owner, to divest its US assets or risk a nationwide ban of the app. Here is a breakdown of how TikTok's algorithm operates and why it is generating so much discussion recently.