Python 1 liner
answer is in the form of aaaa?zzz. initially all chars are \'a\' and we need to add k-n more. the number of \'z\' is  (k-n)//25 and the ? char is (k-n)%25 the r
answer is in the form of aaaa?zzz. initially all chars are \'a\' and we need to add k-n more. the number of \'z\' is  (k-n)//25 and the ? char is (k-n)%25 the rest is \'a\'s\n\n```\n    def getSmallestString(self, n: int, k: int) -> str:\n        return \'a\'*(n-(k-n)//25-((k-n)%25>0))+chr((k-n)%25+ord(\'a\'))*((k-n)%25>0)+\'z\'*((k-n)//25)\n```
['Python', 'Python3']