Microsoft interview question

3 sum Problem (medium) level