Wrote a three sum problem solution, O(n^2) time and space, but it is too slow to pass the large data set.