Skip to content

Commit ce39df4

Browse files
committed
fix: add type hint and __init__.py file
1 parent 836ab89 commit ce39df4

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

sliding_window/__init__.py

Whitespace-only changes.

sliding_window/maximum_sum_subarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def longest_substring_without_repeating_characters(s: str) -> int:
3636
>>> longest_substring_without_repeating_characters("tmmzuxt")
3737
5
3838
"""
39-
char_set = set()
39+
char_set: set[str] = set()
4040
left_pointer = 0
4141
max_length = 0
4242

0 commit comments

Comments
 (0)