ho gyaaa!!! i-=1 krna tha bas else mein utna hi flaw tha yesss!! :D
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```cpp []\nclass Solution {\npublic:\n    vector<string> divideString(string s, int k, char fill) {\n        vector<string>ans;\n        string ki;\n        int c=0;\n\n        for(int i=0;i<s.length();i++)\n        {\n            if(c<k)\n            {   ki.push_back(s[i]);\n                c++;\n            }\n            else\n            {\n               \n                c=0;\n                ans.push_back(ki);\n                 ki.clear();\n                 i-=1;\n            }\n\n        }\n\n        int o=ki.length();\n        int y=k-o;\n\n        for(int i=0;i<y;i++)\n        {\n            ki.push_back(fill);\n        }\n        ans.push_back(ki);\n\n        return ans;\n        \n    }\n};\n```
['C++']