HTMLify
LeetCode - Find the Index of the First Occurrence in a String - Python
Views: 172 | Author: abh
class Solution:
def findKthNumber(self, n: int, k: int) -> int:
l = sorted(map(lambda e:str(e), range(1, n+1)))
return int(l[k-1])