Lintcode - 610. Two Sum - Difference equals to target
https://www.lintcode.com/problem/610/
two pointers
time: O(n)
space: O(1)
use two pointers, same direction
Last updated
https://www.lintcode.com/problem/610/
time: O(n)
space: O(1)
use two pointers, same direction
Last updated