asdf2014 / algorithm

Team up to solve problems on LeetCode together
https://yuzhouwan.com/posts/666/
Apache License 2.0
217 stars 101 forks source link

solve Problem 3 for LeetCode-cn #14

Closed GinRyan closed 5 years ago

pep8speaks commented 5 years ago

Hello @GinRyan! Thanks for opening this PR.

[Line 7:6](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L7): W291 trailing whitespace [Line 48:1](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L48): W293 blank line contains whitespace [Line 55:1](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L55): W293 blank line contains whitespace [Line 109:13](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L109): E265 block comment should start with '# ' [Line 112:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L112): W503 line break before binary operator [Line 113:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L113): W503 line break before binary operator [Line 114:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L114): W503 line break before binary operator [Line 115:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L115): W503 line break before binary operator [Line 116:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L116): W503 line break before binary operator [Line 117:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L117): W503 line break before binary operator [Line 118:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L118): W503 line break before binary operator [Line 119:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L119): W503 line break before binary operator [Line 120:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L120): W503 line break before binary operator [Line 121:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L121): W503 line break before binary operator [Line 122:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L122): W503 line break before binary operator [Line 123:17](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L123): W503 line break before binary operator [Line 125:1](https://github.com/asdf2014/algorithm/blob/2f9c246a4e4fa9d18692751da9cab0416f0192be/Codes/GinRyan/LeetCode/Python 3 Solves/3_longest_substring_without_repeating_characters.py#L125): W293 blank line contains whitespace

Do see the Hitchhiker's guide to code style