Longest Increasing Subsequence
Given an array of n integers, find the length of its longest strictly increasing
subsequence.
A subsequence is obtained by deleting zero or more elements without changing the order of the rest.
Input
The first line contains n (1 ≤ n ≤ 2·10^5).
The second line contains n integers a_1, …, a_n (-10^9 ≤ a_i ≤ 10^9).
Output
Print the length of the longest strictly increasing subsequence.