code: def trim_common_suffixes(strs, min_len=0):
      
  
      if len(strs) < 2:
          return 0, strs
  
      rev_strs = [s[::-1] for s in strs]
  
      trimmed, rev_strs = trim_common_prefixes(rev_strs, min_len)
  
      if trimmed:
          strs = [s[::-1] for s in rev_strs]
  
      return trimmed, strs
docs: trim common suffixes
  
      >>> trim_common_suffixes('A', 1)
      (0, 'A')