import java.util.*; /** * NC165 最长公共子序列(一) * @author d3y1 */ public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * s1和s2最长公共子序列的长度 * @param s1 string字符串 * @param s2 string字符串 * @return int整型 */ public int LCS (String s1, String s2) { return solution1(s1, s2); // return solution2(s1,...