add solution for longest valid parentheses.
add solution for 3sum.
another solution for 3sum