i used two pointer approach for that insted of o(n3)…
kindly check my code and correct it,…
regards,
code link
i used two pointer approach for that insted of o(n3)…
kindly check my code and correct it,…
regards,
code link
u need to sort
and added comments