Leetcode 3 Sum Solution Intermediate