更新 test.java

master
wangsiyuan 2023-09-06 14:28:53 +08:00
parent 755fdc488a
commit e57ebeadf8
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@ public class test {
// int[] nums2 = new int[]{};
// int n = 0;
// Solution.merge(nums1,m,nums2,n);
String[] strs = new String[]{"flower","flow","flight"};
// String[] strs = new String[]{"flower","flow","flight"};
String[] strs = new String[]{"abcg","abcecar","abr"};
String result = Solution.longestCommonPrefix(strs);
System.out.println(result);
}