MCPcopy Create free account
hub / github.com/Flamewaker/JavaPersonalSummary / twoSum2

Method twoSum2

Code/leetcode/hotandtop/LeetCode1.java:36–52  ·  view source on GitHub ↗

变形: 给定一个已按照 升序排列 的有序数组,找到两个数使得它们相加之和等于目标数。 整体思路: 双指针逼近目标值

(int[] nums, int target)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected