예제 #1
0
 def test1(self):
     A = 'abcbefghi'
     res = longest_unique_substr(A)
     print res
     res = longest_unique_substr2(A)
     print res
     res = longest_unique_substr3(A)
     print res
예제 #2
0
 def test2(self):
     A = 'abcdabcdcbadbcedabc'
     res = longest_unique_substr(A)
     print res
     res = longest_unique_substr2(A)
     print res
     res = longest_unique_substr3(A)
     print res