Beispiel #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
Beispiel #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