parameters: (self, strs)
return_statement: return -1
docstring: :type strs: List[str]
          :rtype: int
docstring_summary: :type strs: List[str]
          :rtype: int
docstring_tokens: : type strs : List [ str ] : rtype : int
function: def findLUSlength(self, strs):
          """
          :type strs: List[str]
          :rtype: int
          """
          def isSubsequence(a, b):
              i = 0
              for j in xrange(len(b)):
                  if i >= len(a):
                      break
                  if a[i] == b[j]:
                      i += 1
              return i == len(a)
  
          strs.sort(key=len, reverse=True)
          for i in xrange(len(strs)):
              all_of = True
              for j in xrange(len(strs)):
                  if len(strs[j]) < len(strs[i]):
                      break
                  if i != j and isSubsequence(strs[i], strs[j]):
                      all_of = False
                      break
              if all_of:
                  return len(strs[i])
          return -1
function_tokens: def findLUSlength ( self , strs ) : def isSubsequence ( a , b ) : i = 0 for j in xrange ( len ( b ) ) : if i >= len ( a ) : break if a [ i ] == b [ j ] : i += 1 return i == len ( a ) strs . sort ( key = len , reverse = True ) for i in xrange ( len ( strs ) ) : all_of = True for j in xrange ( len ( strs ) ) : if len ( strs [ j ] ) < len ( strs [ i ] ) : break if i != j and isSubsequence ( strs [ i ] , strs [ j ] ) : all_of = False break if all_of : return len ( strs [ i ] ) return - 1