Algorithm · ByteDance · Hard
Given an unordered integer array, determine the maximum length of any subsequence whose values increase strictly from left to right. Requirements: Your algorithm must run in O(n log n) time. Input Format: One space-separated line containing the array's integer values. Output Format: Print one integer: the length of the longest strictly increasing subsequence. Sample Input: Sample Output: Constraints: The array contains between 1 and 2500 elements, inclusive, and every…
Checking your access…