Two of my test cases are failing.I’ve used brute force method,but I think my logic is correct
Target sum pair problem
hi armaan,
Your code is almost correct.
Print all the pairs of numbers which sum to target. Print each pair in increasing order.
Focus on the above line, this is how you have to print the pairs.
Please let me know if there is any other doubt.
1 Like
okay…thanks!It worked.