Solve the word break ii problem by using DP and combination.