Time Complexity

There are different measurements of the speed of any given algorithm. Given an input size of N, they can be described as follows:

NameSpeedDescriptionFormula
exponential timeslowtakes an amount of time proportional to a constant raised to the Nth powerKN
polynomial timefasttakes an amount of time proportional to N raised to some constant powerNK
linear timefastertakes an amount of time directly proportional to NK * N
logarithmic timemuch fastertakes an amount of time proportional to the logarithm of NK * log(N)
constant timefastesttakes a fixed amount of time, no matter how large the input isK