SubstringwtihConcatenationofallWords

Don’t do full permutation.