@@ -0,0 +1,560 @@
+package leetcode;%0A%0Aimport java.util.stream.IntStream;%0A%0Apublic class Task440 %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(new Task440().findKthNumber(13, 2));%0A        System.out.println(new Task440().findKthNumber(4289384, 1922239));%0A    %7D%0A%0A    public int findKthNumber(int n, int k) %7B%0A        return IntStream.rangeClosed(1, n)%0A                .mapToObj(String::valueOf)%0A                .sorted()%0A                .skip(k - 1)%0A                .findFirst()%0A                .map(Integer::valueOf)%0A                .orElse(0);%0A    %7D%0A%7D%0A

Add Task440