wiki_research

personal research wiki
git clone https://a3nm.net/git/wiki_research/
Log | Files | Refs

shortest_common_supersequence (350B)


      1 # Shortest common supersequence
      2 
      3 https://en.wikipedia.org/wiki/Shortest_common_supersequence
      4 
      5 Given two [words] u and v, find a [word] w of minimal [length] such that w is a [supersequence] of u and of v
      6 
      7 See also: [longest_common_subsequence], [shortest_common_non_subsequence], [shortest_common_superstring]
      8 
      9 Up: [computational_problem] on [words]