package leetcode;

/**
 * https://leetcode.com/problems/nth-digit/
 */
public class Problem400 {
    public int findNthDigit(int n) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem400 prob = new Problem400();
        System.out.println(prob.findNthDigit(3)); // 3
        System.out.println(prob.findNthDigit(11)); // 0
    }
}

@@ -368,16 +368,72 @@
 ); // 0%0A
+        System.out.println(prob.findNthDigit(15)); // 2%0A
     %7D%0A%7D%0A

Add test cases for problem 400