Given a sequence of words and a maximum character limit per line, partition the words into lines. Each line must contain as many words as possible without exceeding the limit, including single spaces…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.