See: String Matching Task, Shortest Common Superstring, Shortest Common Subsequence Matching Task, Longest Common Superstring Matching Task, Longest Common Subsequence Matching Task.