Longest Common Suffix Queries

Solve Longest Common Suffix Queries.

Examples
Input: []
Output: 0
Hints

Longest Common Suffix Queries

Solve **Longest Common Suffix Queries**. This entry was scaffolded in Trie Mastery migration and should be refined with full statement/examples.