package leetcode;

import java.util.List;

/**
 * https://leetcode.com/problems/split-array-into-fibonacci-sequence/
 */
public class Problem842 {
    public List<Integer> splitIntoFibonacci(String S) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem842 prob = new Problem842();
    }
}

@@ -329,16 +329,404 @@
 m842();%0A
+        System.out.println(prob.splitIntoFibonacci(%22123456579%22)); // %5B123,456,579%5D%0A        System.out.println(prob.splitIntoFibonacci(%2211235813%22)); // %5B1,1,2,3,5,8,13%5D%0A        System.out.println(prob.splitIntoFibonacci(%22112358130%22)); // %5B%5D%0A        System.out.println(prob.splitIntoFibonacci(%220123%22)); // %5B%5D%0A        System.out.println(prob.splitIntoFibonacci(%221101111%22)); // %5B110, 1, 111%5D%0A
     %7D%0A%7D%0A

Update problem 842