Created
September 26, 2016 22:00
-
-
Save rainiera/a6a364553b814e1799c52e0f14e02a47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ python git:(master) python longest_unique_substring.py | |
pwwkewa | |
[1, 0, 0, 0, 0, 0, 0] | |
p | |
[1, 2, 0, 0, 0, 0, 0] | |
pw | |
[1, 2, 1, 0, 0, 0, 0] | |
w | |
[1, 2, 1, 2, 0, 0, 0] | |
wk | |
[1, 2, 1, 2, 3, 0, 0] | |
wke | |
[1, 2, 1, 2, 3, 3, 0] | |
kew | |
[1, 2, 1, 2, 3, 3, 4] | |
kewa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment