Available question text
Partition the string s into consecutive groups of size k and return those substrings, padding the final group with the given fill character as many times as needed to reach length k.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2138. Divide a String Into Groups of Size k
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source