C# Linq 1-liner | 137ms 100%
Code\n\npublic class Solution {\n    public string[] DivideString(string s, int k, char fill) \n        => s.Chunk(k).Select(_ => new string(_).PadRight(k, fill
# Code\n```\npublic class Solution {\n    public string[] DivideString(string s, int k, char fill) \n        => s.Chunk(k).Select(_ => new string(_).PadRight(k, fill)).ToArray();\n}\n```\nor cutting to chunks by Substring\n```\npublic class Solution {\n    public string[] DivideString(string s, int k, char fill) \n    {\n        var r = new string[(s.Length + k - 1) / k];\n\n        for(var i = r.Length-2; i >=0; i--)\n        {\n            r[i] = s.Substring(i * k, k);\n        }\n\n        r[r.Length-1] =  s.Substring((r.Length-1) * k).PadRight(k, fill);\n\n        return r;\n    }\n}\n```
['C#']