Created
September 4, 2019 05:16
-
-
Save SuvroBaner/e37a7133d631be6723460f74a17e7a46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def function1(n): | |
a = 0 | |
for (i = 0; i < n; i += 1): | |
for (j = 0; j < n; j += 1): | |
a += 1 | |
return a | |
def function2(n): | |
a = 0 | |
for (i = 0; i < n; i += 1): | |
a += n | |
return a | |
def function3(n): | |
return n * n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment