Microsoft Interview Question

Problem on 2 pointer - 3 sum