in reply to Puzzle: Longest Increasing Sequence
Update: not to mention that you'll run out of memory on a list longer than 20 elements..