Text Justification
Given an array of words and a maxWidth, format the text so each line has exactly maxWidth characters, fully justified (both left and right edges aligned) with extra spaces distributed as evenly as possible.
Enable JavaScript for the full StreamPrep guide.