→ strictly increasing sequence일 때. LCS라고 할 수 있다.

LCS (longest common subsequence)

Brute-forth algorithm

Analysis

LCS problem