Microsoft interview question

Three Sum