I guess I’ve written the code correctly but still there is some error in the code as it fails to compile.https://ide.codingblocks.com/s/139185
Target Sum Pair Challenge
Hello @prashantverma.vn,
-
Each output should be in a different line.
-
You have to print the element instead of their index.
-
Modify the l and r.
I have modified your code:
Hope, this would help.
Give a like, if you are satisfied.
1 Like
A silly mistake…my bad
Thanks for help…