Divide a String Into Groups of Size K | Implementation | 2138 LeetCode | Leetcode Weekly Contest 276