更新 test.java

master
wangsiyuan 2023-09-06 15:06:23 +08:00
parent 8ce22bbbbb
commit 654ae87668
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ public class test {
// int n = 0; // int n = 0;
// Solution.merge(nums1,m,nums2,n); // 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[] strs = new String[]{"flower","flower","flower","flower"};
String result = Solution.longestCommonPrefix(strs); String result = Solution.longestCommonPrefix(strs);
System.out.println(result); System.out.println(result);