結果 : the longest increasing subsequence hackerrank solution python