Skip to content

Instantly share code, notes, and snippets.

@jeremytregunna
Created August 4, 2011 19:54
Show Gist options
  • Select an option

  • Save jeremytregunna/1126069 to your computer and use it in GitHub Desktop.

Select an option

Save jeremytregunna/1126069 to your computer and use it in GitHub Desktop.
tak = method: x, y, z,
if y < x:
tak: tak: x - 1, y, z, (tak: y - 1, z, x), (tak: z - 1, x, y)
else:
z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment