Skip to content

Instantly share code, notes, and snippets.

@m3hari
Created November 27, 2014 15:12
Show Gist options
  • Save m3hari/2022de1f6ce465bd78f4 to your computer and use it in GitHub Desktop.
Save m3hari/2022de1f6ce465bd78f4 to your computer and use it in GitHub Desktop.
swap(x,y):
x=x+y
y=x-y
x=x-y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment