Is every 3+ letter piece of a string a dictionary word?
- Given a string and a dictionary, return true when every piece of the string of length 3 or more is a valid word. (The report says subsequences; confirm with the interviewer whether pieces are contiguous.)
- Follow-up: return true when every such piece can be rearranged into a valid word.
No answer yet. Write the first one; the best answer gets endorsed.
