
Merge two commit streams with the fewest priority inversionsCodingTwo strings describe two streams of commits. Each lowercase letter is a commit's priority, and a smaller letter means higher priority.
Last asked Nov 2026

+2
+3
+1










+1
+1


+2
+1
+2






+1


















+1
+3
























+1



