What are the ways to swap the values of two elements?

Technical