For any given sequence, there will ALWAYS be a unique increasing subsequence with the longest length.

Nam Phong

New member
For any given sequence, there will ALWAYS be a unique increasing subsequence with the longest length.
A. True
B. False
 
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}.
 

Tìm kiếm

Back
Top