Search⌘ K
AI Features

Shortest Common Supersequence

Shortest Common Supersequence asks you to combine two strings into the shortest string that contains both as subsequences; return any valid result when several are possible.

Statement

You are given two strings, str1 and str2. Your task is to find the shortest common ...