PDT Partners interview question

leetcode problem word-break on leetcode.