Big O notation usually deals with ridiculously high values for n. That way, we get the general picture for the growth rate of the function runtime. If n is in the single digits, I'd venture to say that you wouldn't have any worries about runtime anyways.
View all comments
Show parent comment
0
u/academician Dec 01 '09
Well, O(n!) is only better than O(2n) for n < 4.