Algorithm for checking if a string was built from a list of substrings Here's a solution. I really want to know if some IO platforms have this algorithm problem. It seems really classic.