Longest Increasing Subsequence

Given an integer array nums, return the length of the longest strictly increasing subsequence.

An increasing subsequence is any sequence you can form by deleting zero or more elements without changing the order of the remaining values. The chosen values do not need to be adjacent in the original array.

Examples
Input: [10,9,2,5,3,7,101,18]
Output: 4
Hints

Longest Increasing Subsequence

Given an integer array `nums`, return the length of the longest strictly increasing subsequence.