Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
83f42a9a8d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ def timed(function: any) -> any:
|
|||
|
||||
return wrapper
|
||||
|
||||
# Python uses @ to use a wrapper on a function
|
||||
# This is how we call a decorator in python.
|
||||
@timed
|
||||
# O(n^2) time complexity due to nested loops
|
||||
def exponential_function(n: int) -> int:
|
||||
|
|
Loading…
Reference in a new issue