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: 1Min diff: Current diff: