Describe the algorithm to swap two adjacent elements by adjusting only the
links (and not the data) using
Assign the value of one of the variable in a new variable (temporary variable) .
The value of the copied variable can be changed to the adjacent value.
The adjacent value can be changed to the value of the temporary variable.