class Solution { public: vector<string> fullJustify(vector<string>& words, int L) { vector<string> ans; const int n = words.size(); for (int i = 0; i < n;) { int num = 0, len = 0; while (i + num < n && words[i + num].size() + len <= L - num) { len += words[i + num].size(); ++num; } string tmp = words[i]; ...