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

Method main

src/com/blankj/easy/_0001/Solution.java:39–44  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

37 }
38
39 public static void main(String[] args) {
40 Solution solution = new Solution();
41 int[] nums = new int[]{2, 7, 11, 15};
42 int target = 9;
43 System.out.println(Arrays.toString(solution.twoSum(nums, target)));
44 }
45}

Callers

nothing calls this directly

Calls 1

twoSumMethod · 0.95

Tested by

no test coverage detected