Java Easy Solution
\nclass Solution {\n    public String[] divideString(String s, int k, char fill) {\n        int len=s.length(),size=0,rem=0;\n        if(len%k==0){\n           
```\nclass Solution {\n    public String[] divideString(String s, int k, char fill) {\n        int len=s.length(),size=0,rem=0;\n        if(len%k==0){\n            size=len/k;\n        }else{\n            rem=k-(len%k);\n            size=len/k +1;\n        }\n        for(int i=0;i<rem;i++){\n            s+=fill;\n        }\n        int start=0,end=k;\n        String[] ans=new String[size];\n        for(int i=0;i<size;i++){\n            String temp=s.substring(start,end);\n            ans[i]=temp;\n            start=end;\n            end+=k;\n        }\n        return ans;\n        \n    }\n}\n```
['Java']