Concatenated Words

Given a list of words, you need to find all the concatenated words in the list. A concatenated word is…

Word Break

Given a string s and a dictionary of words dict, you need to determine if s can be segmented into…