cpp Easy Solution
\nclass Solution {\npublic:\n    vector<string> divideString(string s, int k, char fill) {\n     \n        while((s.length() % k)!=0)\n        {\n            s.
```\nclass Solution {\npublic:\n    vector<string> divideString(string s, int k, char fill) {\n     \n        while((s.length() % k)!=0)\n        {\n            s.push_back(fill);\n        }     \n        vector<string>ans;  \n        int idx=0;\n        \n        while(idx<s.length())\n        {\n            int counter=0;\n            string str="";\n            \n            while(idx<s.length() and counter<k)\n            {\n                str.push_back(s[idx]);\n                idx++;\n                counter++;\n            }\n            ans.push_back(str);\n        }\n        return ans;\n    }\n};\n```
['C', 'C++']