package leetcode;

/**
 * https://leetcode.com/problems/delete-operation-for-two-strings/
 */
public class Problem583 {
    public int minDistance(String word1, String word2) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem583 prob = new Problem583();
        System.out.println(prob.minDistance("sea", "eat")); // 2
    }
}

@@ -365,16 +365,155 @@
 ); // 2%0A
+        System.out.println(prob.minDistance(%22abdm%22, %22yxabcd%22)); // 4%0A        System.out.println(prob.minDistance(%22abdm%22, %22cyxabcd%22)); // 5%0A
     %7D%0A%7D%0A

Update problem 583