What is wrong in the code
Hi @17manishms
try modifying ur logic.
right now u r only checking if sum of a pair is 0 or not. But i might be the case that more than 2 element sum up to 0, eg: 1 2 -3.
Hope dis helps.
If still something is unclear, pls post ur doubt here