Given an integer array nums , return the length of the longest strictly increasing subsequence . A subsequence keeps the original order but need not be contiguous. Input format Input is a single array, e.g. [[10,9,2,5,3,7,101,18]] .