Microsoft interview question

3 sum problem from lc