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: Senjougahara Hitagi !pQsULI4sXc 2012-09-25 18:44

>>33
Well it's hard to tell when you say things that probably are true, although somewhat baseless.

I find sleep sort to be decently thought provoking. It's a good example of what is and isn't allowed when you do high level programming. I.e. it's the equivalent of saying ALRIGHT NOW SORT THIS LIST IN O(n) time GO.

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