Minimum Conflicts When Merging Two Strings

Given two strings, primary and secondary, consisting only of lowercase English letters, merge them into one string while preserving the relative order of characters within each original string.

A...

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: