Leetcode The finger of the sword Offer 17 The reference code of the title is as follows :
class Solution:
def printNumbers(self, n: int) -> List[int]:
li=[]
for i in range(1,10**n):
li.append(i)
return li
Execution time :32ms beat 97.10%
Memory :20.6MB beat 70.94%
Topic link :
Power button https://leetcode.cn/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof/
Operation method of filling mi