Subsequence
A subsequence of a string is a new string that is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (i.e., "ace"
is a subsequence of "abcde"
while "aec"
is not).
Previous1695. Maximum Erasure ValueSolutionNext392. Is Subsequence & 792. Number of Matching Subsequences
Last updated