Skip to content

Commit c66a6f2

Browse files
author
Joseph Luce
authored
Update 076_minimum_window_substring.md
1 parent f73adae commit c66a6f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

leetcode/hard/076_minimum_window_substring.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ from collections import Counter
8888
8989
class Solution:
9090
def minWindow(self, s: str, t: str) -> str:
91-
char_counter = CharacterCounter(t)
91+
char_counter = MinCharacterCounter(t)
9292
str_builder, min_substr, found = '', s, False
9393
for right_ch in s:
9494
char_counter.increment(right_ch)
@@ -105,7 +105,7 @@ class Solution:
105105
str_builder = str_builder[1:]
106106
return min_substr if found else ''
107107
108-
class CharacterCounter:
108+
class MinCharacterCounter:
109109
def __init__(self, source_str):
110110
self._ch_to_n_counts = defaultdict(int)
111111
self._source_counts = Counter(source_str)

0 commit comments

Comments
 (0)