def generateAbbreviations(self, word):
        return list(set(self.dfs(word)))
Cached, brute force
dataset/ETHPy150Open algorhythms/LeetCode/320 Generalized Abbreviation.py/SolutionTLE.generateAbbreviations