0
1
4
5
8
11
10
14
17
15
19
16
Test Cases
Test Results
Input
5 10
Expected Output
After swapPtr: a=10 b=5 After swapRef: a=10 b=5