auto commit

This commit is contained in:
CyC2018 2018-04-06 15:49:00 +08:00
parent d70cf4669d
commit 4012e90b67

View File

@ -105,8 +105,8 @@ public class ThreeSumFast {
while (l <= h) {
int m = l + (h - l) / 2;
if (target == nums[m]) return m;
else if (target > nums[m]) h = m - 1;
else l = m + 1;
else if (target > nums[m]) l = m + 1;
else h = m - 1;
}
return -1;
}