diff --git a/DynamicProgramming/SuperSequenceRec.java b/DynamicProgramming/SuperSequenceRec.java new file mode 100644 index 0000000..0d1ee10 --- /dev/null +++ b/DynamicProgramming/SuperSequenceRec.java @@ -0,0 +1,46 @@ +import java.util.*; + +public class SuperSequenceRec +{ + static int t[][]; + + static void initializeLCS(int n, int m) + { + t = new int [n+1][m+1]; + + for (int i=0; i