Shortest Way to Form String
Given two strings source and target, both consisting of lowercase English letters.
You may delete any characters from source without changing the relative order of the remaining characters, pro...
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:
