0
1
2
5
6
9
12
11
15
18
16
20
17
Test Cases
Test Results
Input
5 10
Expected Output
After swapPtr: a=10 b=5 After swapRef: a=10 b=5