O(L.length*wordLen*s.length())