You Do It #3 : Determining the Big-Oh value
Activity
-
Consider the 12 functions provided in the following file.
- ydi3.py [Code]
- For each:
- What is the Big-Oh value (O(1), O(n) or O(n2)
- In 1 or 2 sentences, what does this function do?
- It seems more mathy than it is. Don't overthink it.