Word Break 2 - Construct a sentence

Word Break 2 - Construct a sentence - Coding Problem | K5kC