Subsequence And Subarray With Max