#!/usr/bin/env python # coding: utf-8 # In[1]: # This function is given in the assignment from scs import scs # You have to implement this function, or something like it from scs_list import scs_list # ### Example 1 # In[2]: strings = ['ABC', 'BCA', 'CAB'] # In[3]: # Returns just one shortest superstring scs(strings) # In[4]: # Returns list of all superstrings that are tied for shorest scs_list(strings) # ### Example 2 # In[5]: strings = ['GAT', 'TAG', 'TCG', 'TGC', 'AAT', 'ATA'] # In[6]: # Returns just one shortest superstring scs(strings) # In[7]: # Returns list of all superstrings that are tied for shorest scs_list(strings)