Fixed incorrect function name in test cases

This commit is contained in:
Wilson Strasilla 2024-10-17 15:24:12 -07:00
parent d11acec5f3
commit deb7f89291

View File

@ -4,9 +4,9 @@ def min_window(search_str: str, target_letters: str) -> str:
return the smallest substring of the search string that contains return the smallest substring of the search string that contains
all target char_dict. all target char_dict.
>>> is_contains_unique_chars("Hello World", "lWl") >>> min_window("Hello World", "lWl")
"llo W" "llo W"
>>> is_contains_unique_chars("Hello World", "f") >>> min_window("Hello World", "f")
"" ""
This solution uses a sliding window, alternating between shifting This solution uses a sliding window, alternating between shifting