Maintain the enlarging maximum along the dp array.
Description
Given an integer array nums, return the length of the longest strictly increasing subsequence.
nums