0
47
38
49
43
35
44
53
42
1
40
54
50
39
60
55
46
Test Cases
Test Results
Input
5 10
Expected Output
After swapPtr: a=10 b=5 After swapRef: a=10 b=5