For Solving This, My Approach Was Hashing Based & All Test Cases Failed. So I Unlocked Test Cases.
Than I Found that My Answer Was Matching but in Solution 2 Pointer Approach Was Used.
My Code is also Giving Exactly Same No of Pairs but not Necessarily in Same Order.
Suppose Target Sum = 5 and My Pairs are (2,3) (4,1) etc and Coding Blocks Test Cases Showed (3,2) (1,4) or (1,4) (3,2) Like This.
So, I Think My Answer Should be Accepted because Approach is Up to me & My Solution is also Running in O(n) Like 2 Pointer Does.
