An Algorithm for the Constrained Longest Common Subsequence and Substring Problem | Synapse