mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-22 08:21:12 -04:00
Update str-longest-non-repeating.py
This commit is contained in:
parent
72c11a1b44
commit
bed6d221fd
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue