Skip to content

Commit 3b78c2e

Browse files
Refine comment for window variable initialization.
Updated comment to more accurately describe the initialization of window-related variables. This enhances code clarity without altering behavior or logic.
1 parent d1b4a61 commit 3b78c2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sliding Window/minimum_window_substring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def min_window(s: str, t: str) -> str:
2020
t_counts = Counter(t)
2121
char_count_needed = m
2222

23-
# Initialize window pointers and other variables
23+
# Initialize window related variables
2424
left = 0
2525
matched_characters = 0
2626
window_counts = defaultdict(int)

0 commit comments

Comments
 (0)