Finding Longest Common Substring
Finding Longest Common Substring Question: I’m trying to find the longest common substring in all DNA strands but in testing I’m using strings of numbers. Here is the funciton I wrote: def lcsm(string_list): strands = sorted(string_list, key = len, reverse = False) longest_motif = ” seq1 = strands[0] seq2 = strands[1] motif = ” for …