...

/

Sum of Three Values

Sum of Three Values

Try to solve the 3Sum problem.

Statement

Given an integer array nums, find and return all unique triplets [nums[i], nums[j], nums[k]], where the indexes satisfy i≠ \neq j, i≠\neq ...