From 0ceeb2ccec6793fc77c8ad46e2d2a63e614728c8 Mon Sep 17 00:00:00 2001 From: Wilson Strasilla Date: Thu, 17 Oct 2024 15:39:21 -0700 Subject: [PATCH] Added link to leetcode. --- strings/min_window_substring.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/strings/min_window_substring.py b/strings/min_window_substring.py index d19ff433c..2994bb776 100644 --- a/strings/min_window_substring.py +++ b/strings/min_window_substring.py @@ -4,6 +4,10 @@ def min_window(search_str: str, target_letters: str) -> str: return the smallest substring of the search string that contains all target char_dict. + This is somewhat modified from my solution to the problem + "Minimum Window Substring" on leetcode. + https://leetcode.com/problems/minimum-window-substring/description/ + >>> min_window("Hello World", "lWl") 'llo W' >>> min_window("Hello World", "f")