Adam B
2008-09-19 18:17:54 UTC
Examp: 3logn + 2 is O(log n)
Answer: <= 5log n for n >=1
Examp: 2n + 100log n is O(n)
Answer: <= 102n for n>=2
Examp: 2n is O(n!)
All my book simply says is that its easy to see the answer is blah blah........im just like no its not easy to see. Ive tried searching online for help but i find most sites have a different way of teaching it(one site simply took whatever was in the big O notation, and divided the equation by it and then got a number from it to use as c
http://www.cs.auckland.ac.nz/compsci220s...
thats the site that im talking about in case you dont know what i mean by the dividing by.......but anyways thats off topic since i would like someone to explain what exactly is going on if they could thanks