mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update str-longest-non-repeating.py
This commit is contained in:
parent
72c11a1b44
commit
bed6d221fd
@ -1,4 +1,8 @@
|
||||
### find the length of the longest substring without repeating characters
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
# find the length of the longest substring without repeating characters
|
||||
|
||||
|
||||
def length_longest_substring(s: str) -> int:
|
||||
|
Loading…
x
Reference in New Issue
Block a user