Update Substring with Concatenation_of_All_Words.cpp

O(   n*L[0].size()*log(L.size())   )