Shortest Common Supersequence
Problem Statement
Given two strings, find the shortest string that contains both as subsequences.
str1 = "abac" str2 = "cab" SCS = "cabac" (length 5) Verify: - "abac" in "cabac": c[a][b][a][c] ✓ - "cab" in "cabac": [c][a]b[a]c ✓