Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

CS

Name: Anonymous 2012-09-24 23:33

How can i into Algorithm complexity analysis?

example:
How do i formally prove that the Binary Search is O(log(n)) on sorted arrays?

How fib(n) solved in a naive recursive way is O(2n])?

Mathematically that's

Name: Anonymous 2012-09-25 5:23

>>1

say you have a piece of paper and a one inch marker. And say you want to compute ceiling(log_2(n)) where n is the length of the piece of paper in inches. How would you do it?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List