N Nam Phong New member Sep 16, 2021 #1 For any given sequence, there will ALWAYS be a unique increasing subsequence with the longest length. A. True B. False
For any given sequence, there will ALWAYS be a unique increasing subsequence with the longest length. A. True B. False
N Nguyễn Tuyền New member Sep 16, 2021 #2 Answer: B Explanation: For a given sequence, it is possible that there is more than one subsequence with the longest length. Consider, the following sequence: {10,11,12,1,2,3}: There are two longest increasing subsequences: {1,2,3} and {10,11,12}. Upvote 0 Downvote
Answer: B Explanation: For a given sequence, it is possible that there is more than one subsequence with the longest length. Consider, the following sequence: {10,11,12,1,2,3}: There are two longest increasing subsequences: {1,2,3} and {10,11,12}.