Uber interview question

3 sum problem