Skip to main content

Practice · 4 of 9

Mixed A4

CHALLENGE
Difficulty: advanced+25 XP

**Bài toán.** Given n integers, print the length of the longest strictly increasing subsequence. **Constraints:** 1 ≤ n ≤ 200000; 0 ≤ a[i] < 100000. **Input:** line 1: n; line 2: n values. **Output:** one integer.

Back to lesson: Practice: Mixed Sets A/B/C — Topics Hidden