Palo Alto Networks interview question

3 sum problem