結果 : longest increasing subsequence algorithm