fix bug that create incorrect result
------------
this problem is different from max increasing subarray problem
in this, for each index we will only store the max subsequence that
include the item, this is because we are comparing point not single
value