2 ms·
Wow, linear? I had recognized this as a variant of the interview problem where you try to find a triple that sums to zero in a list, but that only shrinks it to
by SilasX 8y ago
Wow, linear? I had recognized this as a variant of the interview problem where you try to find a triple that sums to zero in a list, but that only shrinks it to quadratic.
https://www.geeksforgeeks.org/find-triplets-array-whose-sum-equal-zero/ https://www.geeksforgeeks.org/find-triplets-array-whose-sum-...