add and resolve Longest_Increasing_Subsequence