Microsoft interview question

Problem on 2 pointer - 3 sum