Ezvor

1065. Index Pairs of a String

EasyArray Preparing judge… LeetCode
ArrayStringTrieSortingAho–Corasick Algorithm

Hints

Hint 1
For each string of the set, look for matches and store those matches indices.