Skip to content

Instantly share code, notes, and snippets.

@hughrawlinson
Created June 25, 2017 13:08
Show Gist options
  • Save hughrawlinson/27ba92774611af30c8ae588094c62ce2 to your computer and use it in GitHub Desktop.
Save hughrawlinson/27ba92774611af30c8ae588094c62ce2 to your computer and use it in GitHub Desktop.
O(?)
def one_two_three():
if (one_two() == 1):
if (one_two() == 1):
return 1
else:
return 2
else:
if (one_two() == 1):
return 3
else:
return one_two_three()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment