Two Pointers
Closest Triples
Given an array and a target number, find the triple whose sum is closest to the given target.
1 / 8
1
-3
-1
2
Target: 1
Min diff:
Current diff:
Two Pointers
Given an array and a target number, find the triple whose sum is closest to the given target.
1 / 8
Target: 1
Min diff:
Current diff: