Solve array and tree algorithm challenges | TikTok