Andy L. answered 05/21/19
Career Development
Polynomial runtime is defined as a function with a constant exponent. So anything O(nc) where c is a constant (which includes quadratic O(n2) and cubic O(n3) technically). I think what tends to get confusing is some people refer to something like O(n2) as exponential time (which isn't its true classification). An exponential runtime would be O(2n).
All the runtimes are based on math formulas. So the best way to understand the differences is look at it's bare minimum math formula and compare it.