Longest Common Suffix Queries
The canonical problem (Longest Common Suffix Queries) is: given `wordsContainer` and `wordsQuery`, for each query return the index of the container word that shares the longest common suffix with that query; if there is a tie in suffix length, choose the container word with shortest length, and if still tied choose the smallest index.