Media.net interview question

Recursion , 3 sum problem ,