Longest Increasing Subsequence

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
technogeek
New poster
Posts: 12
Joined: Sun Jun 01, 2003 12:21 pm
Location: Pune, India

Longest Increasing Subsequence

Post by technogeek »

In the problem History Grading I need to use this algorithm but don't know how. Can someone plese show me how to find LIS from an array of integers (named 'answer') in C code ?
bugzpodder
Experienced poster
Posts: 147
Joined: Fri Jun 13, 2003 10:46 pm

Post by bugzpodder »

are you talking about the longest common subsequence?
technogeek
New poster
Posts: 12
Joined: Sun Jun 01, 2003 12:21 pm
Location: Pune, India

NO...Not LCS

Post by technogeek »

Nope. Not Longest Common Subsequence. Check out this link, it has some description :

Definition : http://mathworld.wolfram.com/LongestInc ... uence.html
Analysis : http://www2.toki.or.id/book/AlgDesignMa ... NODE47.HTM

I am still searching for good info on how to solve it.
Post Reply

Return to “Algorithms”