Finding the longest substring in a string using python – codereview.stackexchange.com

substr = ''; final_substr = ''; for index, char in enumerate(s): if index < len(s) - 1: #print('Comparing %s and %s'% (char, s[index+1])); if ord(char) <= ord(s[index + 1]): ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Finding the longest substring in a string using python – codereview.stackexchange.com"