0
2
3
1
4
5
11
9
12
16
20
Test Cases
Test Results
Input
5 10
Expected Output
After swapPtr: a=10 b=5 After swapRef: a=10 b=5