1
$\begingroup$

For example: $O(-e^{-x} +1)$. Basically as the size of the input increases, the time it takes to run converges.

$\endgroup$
1
  • $\begingroup$ I have no idea what the question is; title and body seem not to match. $\endgroup$
    – Raphael
    Commented Dec 16, 2016 at 6:07

1 Answer 1

3
$\begingroup$

It is not hard to see that $O(-e^{-x} +1) = O(1)$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.