Practice
/

Text Justification

Text Justification

Given an array of words and a maximum width, format the text so that each line has exactly the specified number of characters, fully justified (left and right).

Premium Content

Create a free account, then unlock this problem and the entire premium catalog with a one-time CodeSnatch Premium purchase.

Already have an account with premium access? Sign in to continue.