Sponsored
Use these hints if you're stuck. Try solving on your own first.
You need to swap two values, one larger than the other. Where is the larger one located?
Solve with full IDE support and test cases