Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Even or Odd - constant (O(1))
- 2. Are You Here - polynomial (O(n^2))
- 3. Doubler - linear (O(n))
- 4. Naive Search - linear (O(n))
- 5. Creating Pairs - polynomial (O(n^2))
- 6. Computing Fib - linear (O(n))
- 7. An Efficent Search - logarithmic (O(log n))
- 8. Random Element - constant (n(1))
- 9. Is it Prime - linear (O(n))
Add Comment
Please, Sign In to add comment