Python Solution
Not my best work tbh but Does the Job\n# Code\npython3 []\nclass Solution:\n    def splitMessage(self, message: str, limit: int) -> List[str]:\n        if limit
Not my best work tbh but Does the Job\n# Code\n```python3 []\nclass Solution:\n    def splitMessage(self, message: str, limit: int) -> List[str]:\n        if limit < 6:\n            return ""\n        if len(message) < limit - 5:\n            return [f"{message}<1/1>"]\n        lo = len(message) // (limit - 5)\n        hi = len(message)\n        results = {}\n\n        while lo <= hi:\n            num_secs = (lo + hi) // 2\n            tot = len(message)\n            res = []\n            s = 0\n            for i in range(num_secs - 1):\n                suffix = f"<{i+1}/{num_secs}>"\n                num_chars = limit - len(suffix)\n                tot -= num_chars\n                res.append(message[s:s + num_chars] + suffix)\n                s += num_chars\n\n            suffix = f"<{num_secs}/{num_secs}>"\n            num_chars = limit - len(suffix)\n            if message[s:s + num_chars] == "":\n                tot = -1\n            else:\n                tot -= len(message[s:s + num_chars])\n\n            res.append(message[s:s + num_chars] + suffix)\n\n            if tot == 0:\n                hi = num_secs - 1\n                results[num_secs] = res\n                lo = 1\n            elif tot < 0:\n                hi = num_secs - 1\n            else:\n                lo = num_secs + 1\n\n        return results[min(results.keys())] if len(results) else ""\n\n```
['Python3']