摘要:
Problem Description:http://oj.leetcode.com/problems/text-justification/Note: Just be careful about boundary when implementing it. 1 class Solution { 2 public: 3 string genNormalLine(vector &words, int L, int start, int end){ 4 int word_count = end - start + 1; 5 string line; 6 ... 阅读全文