[Python] easy using of set()
During this beweekly contest leetcode server is down again \uD83D\uDE2D\n\npython\nclass Solution:\n    def maximumNumberOfStringPairs(self, words: List[str]) -
During this beweekly contest leetcode server is down again \uD83D\uDE2D\n\n```python\nclass Solution:\n    def maximumNumberOfStringPairs(self, words: List[str]) -> int:\n        v = set()\n        \n        for i in range(len(words)):\n            for j in range(i + 1, len(words)):\n                if words[i] == words[j][::-1] and j not in v:\n                    v.add(j)\n                    break\n                    \n        return len(v)\n```
[]