Relative Content

Tag Archive for big-o

What does ‘upper bound’ mean in context of BigO?

My computer science teacher says Big O has an upper bound but no lower bound. When I look at a graph of an algorithm mapped out using BigO though, there isn’t an upper bound at all. The upper limit goes on forever. So what do it mean to say there is an upper bound in the context of BigO?

Loop runtime question

I had an exam today and I feel that I did pretty well, except I could not for the life of me figure out what appears to be an unbelievably simple question.