From deb7f89291d4326711695d469db12a600a486fbf Mon Sep 17 00:00:00 2001 From: Wilson Strasilla Date: Thu, 17 Oct 2024 15:24:12 -0700 Subject: [PATCH] Fixed incorrect function name in test cases --- strings/min_window_substring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strings/min_window_substring.py b/strings/min_window_substring.py index f7985654f..5441d2684 100644 --- a/strings/min_window_substring.py +++ b/strings/min_window_substring.py @@ -4,9 +4,9 @@ def min_window(search_str: str, target_letters: str) -> str: return the smallest substring of the search string that contains all target char_dict. - >>> is_contains_unique_chars("Hello World", "lWl") + >>> min_window("Hello World", "lWl") "llo W" - >>> is_contains_unique_chars("Hello World", "f") + >>> min_window("Hello World", "f") "" This solution uses a sliding window, alternating between shifting