LongestIncreasingSequence