py: smallest string with a given numeric val, easy
\nclass Solution:\n    def getSmallestString(self, n: int, k: int) -> str:\n        ans = []\n        for i in range(1, n+1):\n            j = max(1, k-(26*(n-i
```\nclass Solution:\n    def getSmallestString(self, n: int, k: int) -> str:\n        ans = []\n        for i in range(1, n+1):\n            j = max(1, k-(26*(n-i)))\n            ans.append(chr(ord(\'a\')+j-1))\n            k -= j\n        \n        return \'\'.join(ans)\n```
[]