Conversation
Notices
-
Just read 1.2.11.1 in #Knuth's #TAoCP. Realize no teacher (even in grad school) ever gave me formal math defn of O(f(n)). Easier that way!
-
@bkuhn There's lots of things that maths teachers say but never explain. They just assert things.
-
@ddevine, at grad CS level, I was never presented w/ formal definitions of O(f(n)) & Θ(f(n)). I even took Complexity Theory! !disturbing
-
@bkuhn That is disturbing. I think however that I have had it explained more than once. I still *really* suck at maths though.
-
@bkuhn I learned it as "the fastest growing term w/o coeff in the expression for the number of ops used by an algorithm with n elements"
-
@bkuhn I also learned that the coefficient is almost always dominant with small data sets and the O() only matters for big data sets.
-
@bkuhn Actually, I don't think that was the definition. That was the explanation. Never mind.
-
@nearyd i.e., like a limit the tricky part is finding it, not testing whether a candidate complies.
-
@bkuhn Wow, that *is* #disturbing. In my uni we got the formal definition during our first algorithms course.
-
@bkuhn Hey, you are the victim, not the perpetrator. Anyway, seems to have worked out ok in the end. :-)
-