public static void main(String[] args) { String a = "ABCBDAB"; String b = "BDCABA"; int lcs = LCS.lcs_length(a, b); System.out.println(lcs); }