- Time : O(B + |A|)
- Space : O(B)
c++
1 | vector<int> Solution::findSubstring(string A, const vector<string> &B) { |