Simple C++ soln for Divide a String Into Groups of Size k
\nvector<string> divideString(string s, int k, char fill) {\n        vector<string> result; \n        string str = "";\n        int i; \n        for( i = 0; i<s
```\nvector<string> divideString(string s, int k, char fill) {\n        vector<string> result; \n        string str = "";\n        int i; \n        for( i = 0; i<s.size(); i++){\n            str+=s[i];\n            if((i+1)%k==0){\n                result.push_back(str);\n                str="";\n            }   \n        }\n        //Storing the odd empty characters. \n        if(i%k!=0){\n            while(i%k!=0){\n                str+=fill; \n                i++;\n            }\n            result.push_back(str);\n        }\n        return result;\n    }\n```
['Array', 'C']