Minimum Subsequences to Form a Target String

Given two strings, source and target, consisting only of lowercase English letters.

You may delete arbitrary characters from source without changing the relative order of the remaining characte...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: