From 43993fb763b9986d6405963267a582091a0e8a07 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 22:28:56 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- 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 d19ff433c..d241bdc3f 100644 --- a/strings/min_window_substring.py +++ b/strings/min_window_substring.py @@ -28,7 +28,7 @@ def min_window(search_str: str, target_letters: str) -> str: # Return if not possible due to string lengths. if search_len < target_count: - return '' + return "" # Build dictionary with counts for each letter in target_letters char_dict = {} @@ -82,4 +82,4 @@ def min_window(search_str: str, target_letters: str) -> str: if exists: return search_str[min_window[0] : min_window[1]] else: - return '' + return ""