JOIN
Get Time
forums   
Search | Watch Thread  |  My Post History  |  My Watches  |  User Settings
View: Flat  | Threaded  | Tree
Previous Thread  |  Next Thread
Find the length of the longest non-decreasing sequence | Reply
The algorithm about finding the length of the longest non-decreasing sequence seems not working with the sequence: 4,3,5,2,1,3,2,3. The longest length should be 3, however the algorithm gives 4. Am missing something here?

Thanks,
Subject Author Date
Find the length of the longest non-decreasing sequence hans1025 Dec 30, 2012 at 11:45 PM EST
Re: Find the length of the longest non-decreasing sequence B.Pham Jan 6, 2013 at 12:15 AM EST
Re: Find the length of the longest non-decreasing sequence saurabh.kakar05 Feb 15, 2013 at 3:34 AM EST
Re: Find the length of the longest non-decreasing sequence blizzard_one Feb 19, 2014 at 4:34 AM EST
Re: Find the length of the longest non-decreasing sequence MrScott123 Aug 8, 2014 at 12:19 AM EDT
RSS