Given an array of strings words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified. Pack as many words as you can in each…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.