Find the length of the shortest string that has both given strings as subsequences.
{ "s1": "AGGTAB", "s2": "GXTXAYB" }
9
{ "s1": "geek", "s2": "eke" }
5
{ "s1": "abac", "s2": "cab" }
Sign in to Run Code and Submit