I am new to all of this and I am trying to understand how to define Time Complexity. I have an algorithm which performs a set of operations on inputs of different size.
While timing the execution of such algorithm I have figured out that the time elapsed follows an exponential law:
Time(size)=0.15*exp(0.05*size)
My question: is it correct to define this complexity according to
T(n)=O(e^n)
?
n*O(e^n)
? – FaCoffee Apr 27 '16 at 16:17