package leetcode;

/**
 * https://leetcode.com/problems/short-encoding-of-words/
 */
public class Problem820 {
    public int minimumLengthEncoding(String[] words) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem820 prob = new Problem820();
        System.out.println(prob.minimumLengthEncoding(new String[]{"time", "me", "bell"})); // 10
        System.out.println(prob.minimumLengthEncoding(new String[]{"me", "bell", "time"})); // 10
        System.out.println(prob.minimumLengthEncoding(new String[]{"me", "bell", "time", "tame"})); // 15
    }
}

@@ -591,16 +591,285 @@
 ; // 15%0A
+        System.out.println(prob.minimumLengthEncoding(new String%5B%5D%7B%22time%22, %22men%22%7D)); // 9%0A        System.out.println(prob.minimumLengthEncoding(new String%5B%5D%7B%22time%22, %22tim%22%7D)); // 9%0A        System.out.println(prob.minimumLengthEncoding(new String%5B%5D%7B%22time%22, %22im%22%7D)); // 8%0A
     %7D%0A%7D%0A

Update problem 820