Solve three algorithm tasks | TikTok