MCPcopy Create free account
hub / github.com/Blankj/awesome-java-leetcode / main

Method main

src/com/blankj/easy/_0088/Solution.java:22–34  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

20 }
21
22 public static void main(String[] args) {
23 Solution solution = new Solution();
24 int[] nums1 = new int[10];
25 for (int i = 0; i < 5; ++i) {
26 nums1[i] = 2 * i;
27 }
28 int[] nums2 = new int[5];
29 for (int i = 0; i < 5; ++i) {
30 nums2[i] = 2 * i + 1;
31 }
32 solution.merge(nums1, 5, nums2, 5);
33 System.out.println(Arrays.toString(nums1));
34 }
35}

Callers

nothing calls this directly

Calls 1

mergeMethod · 0.95

Tested by

no test coverage detected