更新 test.java
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user