Solve message splitting and board crushing | TikTok Interview Question