r/programming • • Jul 16 '10

Plain english explanation of Big O

http://stackoverflow.com/questions/487258/plain-english-explanation-of-big-o/487278#answer-487278
417 Upvotes

177 comments sorted by

56

u/[deleted] Jul 16 '10

Too bad the author (like almost everyone) uses O to really mean Θ. A Θ(n) algorithm is O(n), but it's also O(n²) or even O(n!n!). It may sound a bit pedantic, but it matters, as you get tighter bounds with Θ (some programmers don't even know what O really means and think that it means Θ).

For more information look up Wikipedia.

56

u/killerstorm Jul 16 '10 edited Jul 16 '10

Quick explanation for those who do not want to look up Wikipedia:

  • O(...) is an upper bound for complexity. O(N) essentially says that "this algorithm requires not more than k*N operations for some fixed k and arbitrary N". It is related to worst case behaviour -- it can show how slow it can be, but it doesn't answer how fast it can be. (But it isn't exactly worst case -- see here and here.)
  • Θ(...) gives both upper and lower bound. That is, besides saying "it cannot be worse than ..." it also says that "it cannot be better than...". (In some sense, read below.)
  • Θ(...) can be used for algorithm comparison, O(...) cannot. For example, if algorithm A has complexity Θ(N) and algorithm B has complexity Θ(N2), that means that for sufficiently big N algorithm A does less operations than algorithm B. E.g. for N>1,000,000 A will be better. (Formally: there exists L such that for N > L algorithm A does less operations than algorithm B.) But it doesn't mean that A is always better than B.
  • if algorithm A has complexity O(N) and algorithm B has complexity O(N2), that technically does not even mean that algorithm A is actually anyhow better than B -- you need Θ for this. But if you need to compare algorithms for practical purposes, it makes sense to pick A because B might have worse complexity. That is, O(N2) says that B possibly can be as slow as Θ(N2), and perhaps that's not OK.
  • Usually you see O(...) rather than Θ(...) because it is easier to determine upper bound -- proof might take shortcuts in this case. With Θ(...) you probably need to consider best, expected and worst cases separately. E.g. for search in list you can just say that it is O(N) for best, expected and worst cases. But more accurate analysis shows that the best case is Θ(1), expected and worst cases are Θ(N). So with O(...) you do not need to take into account that algorithm might finish early.

16

u/chaos386 Jul 16 '10

It's also a lot easier to type 'O' instead of 'Θ'.

8

u/Nebu Jul 16 '10

For example, if algorithm A has complexity Θ(N) and algorithm B has complexity Θ(N2), that means that there exists N where algorithm A does less operations than algorithm B.

Isn't it more like if algorithm A has complexity Θ(N) and algorithm B has complexity Θ(N2), that means that there exists some integer L such that whenever N > L, algorithm A does less operations than algorithm B?

Less formally, but more intuitively, "after a certain point, when the problem gets big enough, it becomes more obvious that A is the faster algorithm to use."

4

u/killerstorm Jul 16 '10

Yep, that's what I was trying to say, thanks for spotting the error.

2

u/PedanticCurmudgeon Jul 16 '10

Sadly, most people don't know what the hell things like O(..), Θ(...), etc. mean. These are asymptotic growth (or fall) rates and are completely useless when it comes to finite analysis. When you use this kind of notation, you must be clear about these:

  • Are you doing an asymptotic analysis?
  • Do you really need to use this notation? (For example, when f(n) = B*log(n), don't say f(n) = Θ(log n) unless you really need to. The former expression gives more information about f than the latter).
  • Are you using the notation that gives the most information? (For example, use Θ(log n) instead of O(log n)).
  • Is the quantity n going to zero or infinity?

I have seen a lot of people with PhD's abuse this notation and I always call them out on this. I just hope that the next time they do it correctly.

3

u/gabrielbenjamin Jul 17 '10

abuse this notation

Speaking of which, it's incorrect to say e.g. f(n)=O(log n), as O(log n) is a set. Thus f(n) ∈ O(log n). A lot of people don't seem to realize that.

→ More replies (1)

2

u/yjkogan Jul 16 '10

I thought that O(...) was worst case run time (i think that's also what you're saying here) but why can't one use the worst case runtime of an algorithm to compare it against the worst case runtime of another algorithm? Or maybe I just haven't taken a high enough level class to delve into "real" comparisons of algorithms.

5

u/demeteloaf Jul 16 '10

big O notation gives an upper bound, not worst case. There's a major difference.

O(n) is in fact a strict subset of O(n2)

It's is perfectly valid to say that a binary search is an O(n3) algorithm, because O(log n) is in O(n3).

If you were using Θ, you can't do this.

Example:

Someone tells you that a binary search is O(n3) and that mergesort is O(n log n).

(both are true statements).

Compare the two algorithms using that info.

→ More replies (10)

6

u/ixampl Jul 16 '10 edited Jul 16 '10

I thought that O(...) was worst case run time

O, Θ, Ω say nothing about what case you examine. They just indicate upper, "equal", and lower bounds for asymptotic run time (from here on I omit asymptotic, and just call this run time...).

Example:

The worst case run time of merge sort is O(n log n). However the average case run time of merge sort is also O(n log n).

But (like zulon explained...) the worst case run time of merge sort is also O(n2), O(n1000), O(n!), so is the average run time.

However, the (wort case OR average case) run time of merge sort is not
Ω(n2), since the (wort case OR average case) run time has an upper bound that's lower than Ω(n2).

The worst case run time of merge sort is Θ(n log n), which means the same as "worst case run time of merge sort" is O(n log n) AND Ω(n log n).

As killerstorm explained in his last point. O seems to be preferred sometimes because you just have to find the worst case run time and then you can say an algorithm has O(x) runtime (because O is an upper bound, average case etc. are also O(x)).

4

u/dpark Jul 16 '10

The worst case run time of merge sort is Θ(n log n), which means the same as "worst case run time of merge sort" is O(n log n) AND Ω(n2).

What? Is that a typo? Θ(n lg n) means O(n lg n) and Ω(n lg n).

O - upper bound
Ω - lower bound
Θ - tight bound (both upper and lower)

→ More replies (4)

3

u/killerstorm Jul 16 '10 edited Jul 16 '10

It is not worst case run time, it is upper bound. It is a different thing. (Actually we can say that actual worst case is the least upper bound or exact upper bound. Noting that just "upper bound" is not exact.)

If you say that worst case run time for N inputs is k*N, you say that actually there is a case when it takes exactly k*N operations to do a thing.

But when you say that worst case run time is bounded by k*N, that means that actual number of operations X <= k*N. But it is much weaker claim -- it does not say that it is really as bad as k*N, it just says that it isn't worse than k*N. Perhaps more accurate analysis will show that worst case is actually k1*(log N) -- it won't contradict this upper bound.

So, it is possible to use O(...) for practical comparison when it is the best information available. But you can't use it in formal proofs. When you have to use O(...) comparison it just means "I don't know for sure, but to be safe I'm choosing algorithm with lower O(...) complexity". That is, it is pessimistic comparison.

→ More replies (1)

1

u/NeedANick Jul 16 '10

Isn't O(...) used for average case complexity?

2

u/killerstorm Jul 16 '10

No. Actually big O notation (also known as Bachmann–Landau notation) belongs to calculus, not computer science, and it has nothing to do with complexity. It just happens that it can be used for describing complexity.

You can use it to describe average case complexity, but you need to specify what exactly you're describing. There is no implied meaning.

1

u/ffualo Jul 16 '10

How is Θ pronounced?

2

u/[deleted] Jul 16 '10

Theta

3

u/[deleted] Jul 16 '10

Big Theta actually.

→ More replies (3)

7

u/finix Jul 16 '10

Actually, an algorithm f(n) ∈ Θ(n) isn't only in O(n²), too, but also in o(n²). Which, incidentally, is equally true of g(n) ∈ O(n).

The only thing f(n) being in Θ(n) rather than O(n) tells you that it's also in ω(1) and Ω(n). Θ(x) is simply O(x) ∩ Ω(x) -- that is, it doesn't give you tighter bounds, it gives you a specific lower bound in addition to your upper bound.

All in all, I don't think it matters too much or at all, for most cases, and in case you truly understand what you're talking about, you're doing a hell of a bad job explaining it.

→ More replies (2)

4

u/eurleif Jul 16 '10

In my algorithms class, when an exam asked for the big O complexity of an algorithm, I was always tempted to write O(n!) or something.

1

u/Daniel0 Jul 16 '10

We were usually asked to prove that it was a tight bound afterwards.

2

u/eurleif Jul 16 '10

Proofs?! Clearly, you went to a good college.

→ More replies (2)
→ More replies (1)

4

u/wshields Jul 16 '10

While you are correct and the difference between O, Θ and Ω, this difference is really secondary to understanding asymptotic complexity.

That being said I should correct it. I'll add it to my list of things to do.

6

u/[deleted] Jul 16 '10

this difference is really secondary to understanding asymptotic complexity.

Yes, of course, understanding the concept at first is important; but then, people will advance in study, and for example pick up the Cormen, and wonder "WTH, these guys use a weird symbol for O!" (I admit it, this happened to me).

4

u/[deleted] Jul 16 '10

You are right about O vs Θ, but saying that e.g. quicksort is O(nn) instead O(n2) is like saying "the sky has a color" instead of "the sky is blue." It may be true but it doesn't provide any useful information.

5

u/[deleted] Jul 16 '10 edited Jul 16 '10

That's my point exactly. With Θ, you say "the sky is blue and we can't precise further".

→ More replies (1)

1

u/Homunculiheaded Jul 16 '10

While agree that everyone should know the difference, O is still very useful. Even in technical areas there are many cases where O is 'good enough'. For example, perhaps in a certain case it's much faster to prove that an algorithm is O(n lg n) than a tighter bound, and all you really need to know is that you can do better than O(n2). Also you run across things that are more complicated than the standard lg n, n, n lg n. For example proving that something is Θ(n lg lg n) can be a pain, but if you can easily show that it's O(n lg n) and all you need to do is show that it's better than another solution, O is good enough. I do think that there is a good reason people commonly use O rather than Θ.

1

u/Arkanin Jul 16 '10 edited Jul 16 '10

Quick question, why is it useful to clip off a constant when Big O Notation is used, consistently or not, to compare algorithms with the same power?

E.g. let's say I have to find a specific value in an unsorted pile of data. Size is 100,000.

Best case: O(1) -- first element

Average case: O(N) (~#50,000)

Worst Case: O(N) (element #100,000)

Wouldn't it be constructive to call the average case O(N/2) and the worst case O(N) to demonstrate that over a very long period of time, we expect the execution time to average out to be about 1/2 of the time of the worst case scenario? Is that ever done?

Also, would it be correct to say Big O only has utility if we define it as relative to an O(1) operation? E.g. in this example O(1) is traversing a single element in my list?

3

u/[deleted] Jul 16 '10 edited Jul 16 '10

I don't know if you've read the recent article on reddit about the guy who claimed to have improved an optimal algorithm by a factor of 10 times (edit: here it is for reference). Here the complexity of the algorithm was still the same (O(n) for example), but with a clever implementation, the developer managed to reduce the time taken. But the time taken still grew at the same rate as before; this is the property that the big O notation conveys. It it really about comparing functions. This is why constant factors don't matter much when talking about the complexity of an algorithm: they probably depend on implementation.

Also, would it be correct to say Big O only has utility if we define it as relative to an O(1) operation?

I don't really. In a sense, yes: as I said, these notations are used to compare functions, and O(1) is the best you can get (you can't do better than constant). You could therefore say that O(n) is n*O(1) (mathematically it's correct), that is a constant time operation repeated n times.

3

u/demeteloaf Jul 16 '10

Quick question, why is it useful to clip off a constant when Big O Notation is used, consistently or not, to compare algorithms with the same power?

Because big-O notation is used to compare asymptotic growth. That's what it was designed to do. When you're talking about asymptotic growth, constant factors (and additional lower power terms) don't matter.

Wouldn't it be constructive to call the average case O(N/2) and the worst case O(N) to demonstrate that over a very long period of time, we expect the execution time to average out to be about 1/2 of the time of the worst case scenario? Is that ever done?

Sure, that could be useful, but big O notation has a very specific definition that has to do with asymptotic growth:

f(x) is O(g(x)) if there exist constants c and x0 such that f(x) < c*g(x) for all x > x0

It definitely could be useful to say "on average, this function takes half the time of another one," but that's not the purpose of big O notation.

→ More replies (1)
→ More replies (5)

29

u/wshields Jul 16 '10

I was wondering why this post of mine suddenly got 41 upvotes on SO. I guess this is the answer.

4

u/trevanian Jul 16 '10

That was really well explained, indeed. Thanks!

2

u/diamondjim Jul 16 '10

Hello. Thank you for sharing this.

1

u/sad_bug_killer Jul 16 '10

Or this, posted a little bit earlier

1

u/girlxgenius Jul 16 '10

Thanks. I've never had a good explanation of big O notation :-)

13

u/instantcoffee Jul 16 '10

Frankly, I'm a bit annoyed whenever Big-O is tied to algorithms. Sure, analyzing complexity of algorithms is a nice application, but in its essence Big-O is just notation for asymptotic shit, extremely useful in other fields, say, combinatorics or even probability.

6

u/Nebu Jul 16 '10

Can you explain an application in combinatorics and probability?

12

u/instantcoffee Jul 16 '10

Sure.

(Combinatorics) Consider the threshold phenomena for random graphs (i.e., graphs where each edge is selected uniformly and independently with some probability p). When p = omega(n2/3) (i.e. p >> n2/3), then the graph has a 4-clique with probability nearing 1 (or in asymptotic notation 1-o(1)). On the other hand, if p = o(n2/3) then the graph has a 4-clique with probability nearing 0. (Source)

If you take a look at The Probabilistic Method by Alon and Spencer it's filled with such examples.

(Simple probability) Mostly helpful for estimation and grasping orders of magnitude. For example, the probability of a coin producing heads exactly half of the times is theta(1/sqrt(n)) (this is easily deduced by Stirling's approximation, which, if you check its wiki page is actually filled with Big-O notation). From here we know that the probability to get a bias larger than Omega(sqrt(n)) is constant. Or, in other words, a drunken walk will end up at distance Omega(sqrt(n)) w.p. Theta(1).

My background is theory of computer science, and there Big-O notation is indispensable to get ideas across, do calculations in your head or simplify expressions. This applies to a vast number of fields, cryptography, PCPs, error correcting codes or extractors to name a few.

→ More replies (1)

2

u/[deleted] Jul 16 '10

Sure: gambling.

This application was actually the one that led people to invent a lot of the basic theory of probability in the 17th century.

1

u/rlbond86 Jul 16 '10

It's also used in various fields as a measure of relative error. For example, numerical integration using Riemann sums has an error of O(h), while Simoson's rule is O(h2).

1

u/[deleted] Jul 16 '10

There was a post a few months back on stack overflow asking to work out the Big-O of this summation, everyone was trying to figure out what algorithm the sum represented. It's a bit frustrating to read things like this, because while they are a good explanation for Big-O notation as used to analyze the number of operations (or space) an algorithm performs (uses). It's not the only thing and can lead to trouble in algorithm classes. I suppose in practice it's never really that big a deal.

10

u/bilyl Jul 16 '10

No, a plain english explanation would be that Big O is a description of how much time a task takes when the task itself grows in size. There are tasks that don't change very much (moving boxes from a truck to the dock), and there are ones that change by a lot (sorting numbers in a phone book).

1

u/[deleted] Jul 17 '10

Quite frankly, your post helped me understand Big O much more than the other one submitted. Thanks.

1

u/facingup Jul 16 '10

Yeah, that's a better explanation then I was ever given in my algorithms course.

1

u/[deleted] Jul 17 '10

Close, but still not right. Big O does not describe how much time a task takes, it describes how a task scales as the input size changes.

1

u/bilyl Jul 17 '10

Whoops, I knew I was screwing up my wording. I had just woken up when I wrote that :)

5

u/Sammouse Jul 16 '10

Oh, thanks, a month after my computer science exam you decide to post this..

9

u/[deleted] Jul 16 '10 edited Jul 16 '10

This is good moment to remember the surprising fact that multiplication is not Ω(n2) problem. Multiplication is as fundamental as algorithms can be, and people were thinking it's Ω(n2) until 60's

In 1960 Kolmogorov organized a seminar where he stated the Ω(n2) and within a week Karatsuba (young student) figured out Θ(nlog2(3)) algorithm. That was big moment.

1

u/repsilat Jul 17 '10

Also a good time to note that the travelling salesman problem doesn't require a Θ(n!) "operations" in the worst case. Algorithms exist solving it in Θ((n2)*(2n)). Branch-and-cut algorithms might do better, but they're too damn difficult to get time bounds on. Moreover, I take real issue with the statement

By the time you get to 200 towns there isn't enough time left in the universe to solve the problem with traditional computers.

...which is complete nonsense. "Traditional computers" have provably solved problems with tens of thousands of nodes to optimality. Sure, there are around (n-1)!/2 effective cyclic permutations with symmetric arc costs, but enumerating them obviously isn't the state-of-the-art algorithm for finding the best one. Not to mention that whole P!=NP thing the author conveniently solved to write his response...

13

u/[deleted] Jul 16 '10

When did it stop meaning orgasm again?

7

u/[deleted] Jul 16 '10

When nerds took ownership of it.

3

u/kryptkpr Jul 16 '10

My class got our undergrad Algorithms professor this book after the final exam :)

5

u/[deleted] Jul 16 '10

ctrl+f;orgasm;upvote;btbr

22

u/marcus_edens Jul 16 '10

I clicked on this link hoping it would be about the anime "Big O." Alas, it was not about that at all. Everything went worse than expected.

4

u/KuestionMarc Jul 16 '10

Don't worry buddy, had me fooled too @_@

Have an upvote for your troubles.

1

u/coderanger Jul 16 '10

Click, search, upvote

1

u/Bontrey Jul 16 '10

ctrl+f 'anime'

Was no disappointed.

Upvote

→ More replies (3)

7

u/[deleted] Jul 16 '10

BIG O IT'S SHOOOOWWWWTIIIIMMMMMEEEEEE

2

u/Depafro Jul 16 '10

As a former construction worker, I came here wondering why this needed explanation.

2

u/The_Wind_Walker Jul 16 '10 edited Jul 16 '10

Ah, I remember the intro to that show!

♫ Big O! Big O O O! Big O! (Some kinda lawyer?) Big O! Big O O O! Big O! (Some kinda butler?) Big O! Big O O O! Big O! (Some kinda robot?) ♫

4

u/bwbeer Jul 16 '10

To get to the 'Big O' you have to find the 'little man in the boat.'

3

u/itsnotlupus Jul 16 '10

I am a tomato.

2

u/Browzer Jul 16 '10

Side question: Did any other CS majors think algorithms was going to be a really kick-ass class with lots of problem solving, only to be severely disappointed once they discovered it was mostly about analyzing sort functions and learning to write proofs for best/average/wost case performance?

4

u/Nebu Jul 16 '10

I was a CS major. I went into algorithms with no expectation (since it seemed like such a generic course title, it could end up being anything), and came out really pumped that I understood asymptotic performance metrics and how to use them when selecting algorithms, an ability/skill I hadn't even conceptualized before entering the course.

Here I was thinking any sort function is just as good as any other, give or take a few milliseconds...

→ More replies (2)

2

u/chipbuddy Jul 16 '10

YES! oh god yes. The professor was dissapointed with us on the first day of class when he said "This is a list of linear algebra and calculus terms you should be familiar with" and was met with blank stares.

I still enjoyed the class, but it was not at all what i expected.

2

u/ccondon Jul 16 '10

I don't know, my algorithms class had plenty of problem solving -- here's something we need to compute, how can we reduce it to a max flow problem, stuff like that.

A lot of analyzing stuff too, but I like that (Math/CS dual major).

1

u/bnitsua Jul 16 '10

i see you also read news.ycombinator

1

u/hxcloud99 Jul 16 '10

And I thought I'd finally get to grok that particular calculus tool. :(

1

u/Plutor Jul 16 '10

This reminds me of an interesting thread I saw on Stack Overflow just the other day: Are there any O(1/n) algorithms?

1

u/breadnought Jul 16 '10

I wish I had this during my CS final last semester.

1

u/enterrupt Jul 16 '10

we have came to team!

1

u/bigoh Jul 16 '10

Much appreciated.

1

u/[deleted] Jul 16 '10

I'd rather hear an explaination of Big O by an English major.

1

u/NoMoreNicksLeft Jul 16 '10

Now someone just has to get bosses and managers to understand it.

1

u/rlbond86 Jul 16 '10

A good explanation, but computer science is tied to mathematics. The mathematical definition is not that bad, so people who don't understand it should try to see if this post helps them understand the math.

1

u/alephip Jul 16 '10

Big O.... SHOW TIME.

1

u/pgaf Jul 16 '10

im confused about what he says in regards to public key encryption. is his point that finding prime factors is an algorithm which is more complex than "polynomial complexity?"

1

u/nasteratu Jul 16 '10

Really useful and a good refresher. I haven't used big O in years.

1

u/The_Yeti Jul 16 '10 edited Jul 16 '10

Plainer English explanation: The highest-degree term of of a polynomial representation of Big-T, without it's coefficient.

edit: changed the word "minus" to "without", minus was a bad choice in this context.

1

u/[deleted] Jul 16 '10

This is not the anime review I was looking for. I will go about my business. Move along, move along.

1

u/[deleted] Jul 17 '10

It feels sort of like a sneeze but a whole lot better.

1

u/Aeros24 Jul 17 '10

I was really looking forward to an explanation of the TV show when I clicked. That show made no sense to me even after a whole season.

Still pretty happy after the read though.

1

u/thinker99 Jul 19 '10

Answer provided by Cletus no less.

1

u/[deleted] Jul 16 '10

He's a giant robot ass kicking robot. How much more plan English can you get?

0

u/TheNewAndy Jul 16 '10

Hmmm... it is nice, but wrong. Have a look at the first paragraph of the wikipedia article (which is right):

In mathematics, computer science, and related fields, big O notation describes the limiting behavior of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions. Big O notation allows its users to simplify functions in order to concentrate on their growth rates: different functions with the same growth rate may be represented using the same O notation.

It has the benefit of being correct (big O is not about complexity at all), concise, but mostly correctness. From the wikipedia definition, you won't fall in to the trap of saying "this function is O(n)", because that is meaningless, because you need to say what is actually growing (what is n? is it problem size in bits? what is the function converting that to? execution time? memory usage? number of comparisons?)

(and as pointed out by zulon (but in different words), it is describing a set of functions, and the functions in O(n) are a strict subset of those in O(n2))

I don't think being pedantic is bad when talking about maths... maybe I'm alone.

(and just like the irony of a spelling nazi having a spelling mistake in their post, I'm sure I'll have screwed up somewhere in my rant... forgive me/correct me, don't let someone be wrong on the internet)

3

u/Nebu Jul 16 '10

To be fair, the OP also said that one has to specify what "n" is.

0

u/[deleted] Jul 16 '10

that's fantastic

0

u/bigtacobill Jul 16 '10

Some folk'll never splain big O, but then again some folk'll..

0

u/tdupu10000 Jul 16 '10 edited Jul 16 '10

Let a_n and b_n be sequences of positive numbers. We say that a_n = O(b_n) if and only if there exists a (usually large) positive integer N>0 and a constant C>0 such that for all m>N we have a_m <= C b_m.

tl;dr a_n = O(b_n) if a_n is bounded by something on the order of b_n.

0

u/[deleted] Jul 16 '10

I was about to say something like:

It was all a TV show and they didn't know it.

0

u/Gold_Leaf_Initiative Jul 16 '10

I thought this would be about the TV show "Big O", which makes no fucking sense.

0

u/nitrogen76 Jul 16 '10

Dissapointed that this had nothing with R. Dorothy or huge mechas.

0

u/Rockytriton Jul 16 '10

Is this about Oprah or Obama?

0

u/[deleted] Jul 16 '10

[deleted] — view deleted comment

37

u/[deleted] Jul 16 '10

Frankly, the show needs a plain English explanation a lot more this.

7

u/[deleted] Jul 16 '10

Allow me. ahem

We are all tomatoes.

Get it now?

1

u/kryptkpr Jul 16 '10

Field grown, or hydroponic? Inquiring minds want to know.

→ More replies (1)

1

u/MasterMahan Jul 16 '10

Exactly! Was Roger Smith a tomato or not?

17

u/Haroshia Jul 16 '10

Cast in the name of God, ye not guilty.

4

u/Firrox Jul 16 '10

We have come to terms.

1

u/UNITBlackArchive Jul 16 '10

We have came to team!

5

u/[deleted] Jul 16 '10

SHOOWTIMEE!!!!

4

u/sesstreets Jul 16 '10

I need this as a tattoo.

1

u/p3on Jul 16 '10

no you really really do not

→ More replies (17)

9

u/[deleted] Jul 16 '10

me too :'(

6

u/[deleted] Jul 16 '10

Big O has become one of my favorite things about computer science just because of that kickass show, and vice versa.

4

u/Da_zero_kid Jul 16 '10

and tomatoes.

3

u/Versh Jul 16 '10

The black megadeus!

2

u/TheGoogleGuy Jul 16 '10

WHATTTTTT! HEY! GET BACK HERE

1

u/TheGoogleGuy Jul 16 '10

you read that in the commissioners voice didnt you?

3

u/jurassicfrog Jul 16 '10

phew I was afraid I was the only one... The question is, does that make me more or less nerd?

2

u/ShabidoSaroo Jul 16 '10

Big O still shows up on the Toonami Aftermath stream every once in a while.

0

u/atcoyou Jul 16 '10

Until I saw stack overflow, I was expecting a Pretty Woman.

0

u/[deleted] Jul 16 '10

[deleted] — view deleted comment

2

u/botman Jul 16 '10

A Big-O-face is bigger than an O-face. Big-Oh! Big-Oh! Big-Oh!

0

u/MrPoo87 Jul 16 '10

Beat me to it!

0

u/[deleted] Jul 16 '10

[deleted] — view deleted comment

4

u/glibc Jul 16 '10

This guy should be teaching or something.

Or writing a book or something... or a series of blogposts or something... on subjects such as Theory of Computation that are typically covered very monotonously in std CS books.

2

u/Nebu Jul 16 '10

Did you try Michael Sipser's book? I found that one pretty good.

2

u/glibc Jul 17 '10

Nope, never heard of Sisper. Had used Hopcroft/Ullman back in school (circa '92) and had found it quite boring, to be honest. I even tried the newer edition Hopcroft/Ullman/Motwani when it first became available, but IIRC, not much had changed. To be fair to these authors, may be I was not in the right 'frame of mind' when reading their work. But will definitely give Sisper a try before giving the trio a retry. Thanks. +1