package leetcode;

/**
 * https://leetcode.com/problems/decoded-string-at-index/
 */
public class Problem880 {
    public String decodeAtIndex(String S, int K) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem880 prob = new Problem880();
        System.out.println(prob.decodeAtIndex("leet2code3", 10)); // o
        System.out.println(prob.decodeAtIndex("ha22", 5)); // h
        System.out.println(prob.decodeAtIndex("a2345678999999999999999", 1)); // a
    }
}

@@ -506,16 +506,84 @@
 ); // a%0A
+        System.out.println(prob.decodeAtIndex(%22hello23%22, 10)); // o%0A
     %7D%0A%7D%0A

Update problem 880