public class longchar { /** * 得出2个字符串中的最长相同字符串 */ public static void main(String[] ar
public class longchar { /** * 得出2个字符串中的最长相同字符串 */ public static void main(String[] ar
日期:2021-04-06 06:55:34 人气:2
public class MaxSubString {
public static String getMaxSubString(String str1,String str2){
int x=0,y=0;
int lenght1=str1.length();
int lenght2=str2.length();
int array[][]=new int[lenght1][lenght2];
for(int n = 0;
public static String getMaxSubString(String str1,String str2){
int x=0,y=0;
int lenght1=str1.length();
int lenght2=str2.length();
int array[][]=new int[lenght1][lenght2];
for(int n = 0;