Minimum Merge Conflicts

Given two version branches primary and secondary, each a string of lowercase letters. Each letter is the priority of a commit; a smaller letter means a higher priority (a is highest, z is lowe...

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: