just do IT
Showing posts with label
algorithm
.
Show all posts
Showing posts with label
algorithm
.
Show all posts
Wednesday, January 20, 2010
Ex 15.4-5 of introduction to algorithms
›
Question: Give an O(n squared)-time algorithm to find the longest monotonically increasing subsequence of a sequence of n numbers. Answer: A...
Thursday, December 24, 2009
Ex 10.4-3 of introduction to algorithms
›
Question: Write an O(n)-time nonrecursive procedure that, given an n-node binary tree, prints out the key of each node in the tree. Use a st...
1 comment:
Thursday, December 17, 2009
Ex 9.3-8 of Introduction to algorithms
›
Question : Let X[1 .. n] and Y [1 .. n] be two arrays, each containing n numbers already in sorted order. Give an O(lg n)-time algorithm to ...
1 comment:
Friday, December 4, 2009
Ex5.1-3 of Introduction to Algorithms
›
Question: Suppose that you want to output 0 with probability 1/2 and 1 with probability 1/2. At your disposal is a procedure BIASED-RANDOM, ...
Wednesday, December 2, 2009
Ex5.1-2 of introduction to algorithms
›
A friend asked my idea about the exercise 5.1-2 of introduction to algorithms . Here is the original question: Question: Describe an impleme...
3 comments:
›
Home
View web version