Also reported as Merging Branches · Merge Two Strings with Minimum Conflicts
Amazon online assessment question, reconstructed from 3 candidate reports (April 2026 to September 2026). Tests: dynamic programming and backtracking. The write-up includes a Python solution that passes 7 test cases.