Python 1-liner Solution | O(n) |
py\n# from re import findall\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        return findall(\'.\' * k, s + fill *
```py\n# from re import findall\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        return findall(\'.\' * k, s + fill * (k - len(s) % k if len(s) % k else 0))\n```
[]