Longest increasing subsequence - Dynamic Programming
An increasing subsequence is a subset { ai1,ai2,...,aik } of a larger sequence of numbers { a1, a2, .... , an }, such that (a) 1 <= i1 < i2 < .... < ik <= n, and (b) ai1 < ai2 < .... < aik.
Read more...
No comments :
Post a Comment