algorithms.tutorialhorizon.com
The Word Break Problem | Algorithms
Given an string and a dictionary of words, find out if the input string can be broken into a space-separated sequence of one or more dictionary words