ACM problem idea

Trace through two strings. Forward scanning only. List of words which must all be found in the set of two strings.