问题 This is a variant of the longest increasing subsequence problem. Suppose that, instead of wanting to find a sequence or counting how many sequences there are, you wanted to identify items that can be part of some longest increasing sequence. For example, in the list 1,2,4,3,0,5 all items except the zero can be part of a longest increasing subsequence. What is a strategy to find these items? How efficiently can it be done? 回答1: One method is to use the same dynamic algorithm as in the longest